Communicator status alerts, sends mails to myself on outlook
Hello All,
I want to moniter the login and logout times of my employees on outlook, and do not want to use any hardware/software that may be inconvenient. Is there a way to get the status alerts from Communicator to trigger outlook to send an email to myself?
may be a VBA code or something?
current Outlook version: 2010
current MS Communicator version: 2007 R2
Thanks in advance
Hi,
Please have a look at the blog article below, hope it will help you.
http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx
Since this is the forum to discuss general questions and feedback related to Outlook, if you want to achieve this goal with VBA codes, better to post your question in the MSDN forum:
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev
Regards,
Steve Fan
TechNet Community Support
Similar Messages
-
I am running Thunderbird version 33.1 Recently, when sending e-mail, I get an error message indicating that the sent folder is full and that I should empty or compress it to fix the problem-- so I emptied it-- problem remains. Also, there is no record of sending the e-mail in the sent folder, even though the mail has been sent. No such problems occur when I send mail to myself.
Any suggestions ???If you deleted some of the messages you have done one half of the process. Deleting a message just marks it for deletion and hides it from view. You have to COMPACT the folder to actually delete the messages and free up the space.
I agree that Thunderbird did a poor job naming this process because it is the subject of much misunderstanding.
Read about compacting here.
http://kb.mozillazine.org/Thunderbird_:_Tips_:_Compacting_Folders
I suggest that you also read this article about maintaining your email system to help prevent problems.
http://kb.mozillazine.org/Keep_it_working_-_Thunderbird -
Why cant I send mail to myself from the ipad. It remains in the out box
Why cant I send mail to myself from the ipad. It remains in the out box.
I am using the wifi only.Why cant I send mail to myself from the ipad. It remains in the out box.
I am using the wifi only. -
Hope someone can help me. I am running an OSX 10.4.8 Xserve
My clients can't send mail to themselves. No matter what email client they use, mail sent to themselves shows up in the sent items but not in the inbox! Using webmail is similar in that after its sent it will not show up in the inbox until you check sent mail and then the inbox. All other aspects work fine. This machine had the same problem when it was running 10.3
Any idea's would be much appreciated
CheersIf you enter "postconf -n" in the Terminal.app, you will get a list of the configuration parameters specific for your server. Posting this to the forum allows other people to more easily diagnose what the problem is. Without this, there is no real place to start since your problem does not match any of the 'frequently asked questions' that appear.
However... Check the mail.log when someone on the LAN sends an email to themselves. You should see, in the mail.log, the client connecting to the server and then the progress through the server - any problem on the server should be evident from the same log (SMTP log set to Information).
-david
PS. welcome to Apple forums -
Problem sending mail with roaming profile (Outlook 2010)
Hello all,
I hope you will be able to help me.
Here's the problem I have with Outlook 2010:
When a user opens a roaming profile on another
PC or on his new
PC, everything works perfectly except
Outlook.
Outlook opens normally with all email
accounts, you can even see the email, no worries
about that.
But when we want to send an email, it
gets stuck in the outbox.
Some additional info:
- In the account settings,
you can test the account settings, it says
that everything is working (sending and receiving)
- The only way I found today to
operate the account is to
completely remove and reconfigure
- There is an error message
that says I can not write on the file C:\Users\UserName\AppData\Roaming\Microsoft\Outlook\accountName.pst
- The problem occurs with
all users, not just one in particular
- The accounts are IMAP
- Incoming emails work
Thank you for your help.Hi Tim,
This is a known issue in Outlook, we don't recommend using IMAP account with roaming profile.
For more information, you might want to read this similar thread:
https://social.technet.microsoft.com/Forums/office/en-US/f9b1bf03-d468-46e8-b40d-76fac11fd66c/outlook-2010-creates-new-imap-pst-files-at-random-and-cannot-send-mail-roaming-profiles-and-imap?forum=outlook
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
I can't send mail from iphone4 using outlook
I am able to receive mail, but cannot send mail from my iPhone4. I am using Outlook - please help!
Thanks!Email does not sync to the phone via iTunes. Don't know where you got this idea. Email account info can be synced from a computer to the phone via iTunes, but that's it.
If the OP told us what happens when he tries to send mail, it might actually be helpful in troubleshooting. Without this information, we're just shooting in the dark.
That said, I'm willing to bet the SMTP server settings are incorrect. -
Sending mails from sap to outlook with pdf attachment
Hi All
I am using the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send
mail with the pdf attachment to a SMTP mail id(outlook). I have done all the configuration settings in SCOT transaction. But still i am not able to get the mail in my outlook mailbox. Following are the details of the steps i have followed.
step1.
Get the OTF data output from the SMARTFORMS function module.
step2,
convert the OTF output data to PDF format.
step3.
populate all the required table to pass data to the function
module 'SO_NEW_DOCUMENT_ATT_SEND_API1' -
packing_list
contents_bin
contents_txt
receivers
and call the function module.
After doing the above steps still i am not able to get the mail in my outlook mailbox. Please Help.
Thanks
Jitendra Kumar Tripathy.hi,
kindly chk the code i wrote for my program.
it will solve ur issue.
Internal Table declarations
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
wa_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
wa_doc_chng typE sodocchgi1,
w_data TYPE sodocchgi1,
wa_buffer TYPE string,"To convert from 132 to 255
Variables declarations
v_form_name TYPE rs38l_fnam,
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZZZ_TEST1'
importing
fm_name = v_form_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION v_form_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
i_otf[] = w_return-otfdata[].
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
Fehlerhandling
if sy-subrc <> 0.
endif.
loop at i_tline.
translate i_tline using '~'.
concatenate wa_buffer i_tline into wa_buffer.
endloop.
translate wa_buffer using '~'.
do.
i_record = wa_buffer.
append i_record.
shift wa_buffer left by 255 places.
if wa_buffer is initial.
exit.
endif.
enddo.
Attachment
refresh:
i_reclist,
i_objtxt,
i_objbin,
i_objpack.
clear wa_objhead.
i_objbin[] = i_record[].
Create Message Body
Title and Description
i_objtxt = 'test with pdf-Attachment!'.
append i_objtxt.
describe table i_objtxt lines v_lines_txt.
read table i_objtxt index v_lines_txt.
wa_doc_chng-obj_name = 'smartform'.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-obj_descr = 'smartform'.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = v_lines_txt * 255.
Main Text
wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt )
clear i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
append i_objpack.
Attachment
(pdf-Attachment)
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
Länge des Attachment ermitteln
describe table i_objbin lines v_lines_bin.
read table i_objbin index v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'smart'.
i_objpack-obj_descr = 'test'.
append i_objpack.
clear i_reclist.
i_reclist-receiver = '[email protected]'.
i_reclist-rec_type = 'U'.
append i_reclist.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = wa_objhead
CONTENTS_BIN = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if helped rwrd points
anver -
Not receiving some mail and can't send mail to myself
I've been trying to get a password reset link from Paypal (which I haven't used since before I got my new Imac) but I'm not getting any of their emails. I called their tech support and had them send it twice more, but I'm still not getting anything and they have no clue what the problem is, even though I do get adverts from them. I tried sending myself an email and I can't get that either. I've been using AT&T internet for years so I'm forced to have email on my yahoo page as well as standard mac mail but I'm not getting the emails on my yahoo account (same address) either. What is going on and how can I fix it? Software is Lion 10.6.8
I would check each smtp server and ports and imap or pop3 depending on your mail provider
settings up against the mail providers listed settings to verify that your settings are set correctly -
All of a sudden sending mail to myself-what did I turn on?
Responded to a couple of emails this morning and immediately a copy of the email appeared in my inbox. Ordinarily I'd suspect that I did something stupid like entering my own email address as the addressee. Not so, only hit reply.
Did I turn a setting on that makes a copy for CC's me as the sender? Can I assume the addresee got an email from me as well?
How can I defeat this "feature?"
JBtheboogins wrote:
Responded to a couple of emails this morning and immediately a copy of the email appeared in my inbox. Ordinarily I'd suspect that I did something stupid like entering my own email address as the addressee. Not so, only hit reply.
Did I turn a setting on that makes a copy for CC's me as the sender? Can I assume the addresee got an email from me as well?
This may not explain what you're seeing, but in Mail 3.6 under Mac OS X 10.5.8 there's a preference in Mail under the "Composing" panel for "Automatically Cc: myself". -
Unable to send mails from SOST to Outlook
Hi,
We have an issue with the messages to be sent from SOST to MS Outlook. When we run the job in SOST, the messages are sent successfully (status shows in 'green' light) but the messages are NOT being received by the Recipient(s).
We have checked and verified the followiing :
1. User's ID is maintained in SU01.
2. Communication method is defined correctly in SU01.
3. In SCOT, default domain is correctly defined.
4. Also, in SCOT, correct Host, Port & Internet settings are defined.
Please let me know if we are missing anything.
Regards
Sudarsan
Edited by: Sudarsan Sampathkumar on Oct 29, 2010 8:52 AMHi,
If you could see the return code 73 in SOST then it means that the message is sent from SAP and now the message has to be flushed out from the exchange server. Check with the Exchange admin to have a look at that.
I assume that u have set all the relevant profile parameters.
Have a look at the [Link|http://tamboly.com/SAPEmailConfiguration.html] which will be helpful.
Regards,
Varadharajan M -
Mail App won't Send Mail on Macbook Air, Outlook works fine
Mail app will no longer send, from my new 2011 Macbook Air with Lion. The MS Outlook app sends fine.
This was the answer:
This happened to me after updating to Lion. This is what I did.
When mail tries sending/receiving you'll see the spinning icon next to the trays on the left hand side. Whilst this is happening click onwindow>Connection Doctor. Find the offending account, red dot, double click on the account and in the window that opens check the details inAccount Information and Advanced are correct; mine weren't and when I corrceted them, all was well. These details semed to be different to those I had set in the Preferences pane of mail.
Good luck,
Andy
what this does is guide you through editing the smtp port list, which is a bit hard to locate on the accounts screen.
mail cycles through the possible smtp ports, which can take a VERY long time. Usually 587 is what you want, but in any case, pick one, see if it works, tell it not to cycle. -
Issues when sending mail from sap to outlook in .csv FORMAT
hI all,
Im using 'SO_NEW_DOCUMENT_ATT_SEND_API1'
FM TO send a mail from SAP to user with attachment in .csv format but the data isnot getting displayed correctly ...
I thnk it is competely displayed in ASCII format ..
Can anybody give me suggestionson the same
thanksHi.
How is the user opening the .csv attachment?
I'm guessing that it should be opened with Excel.
Are you using an attachment document type of 'XLS'?
If not, then the attachment won't be opened with Excel unless the user right-clicks on it and does 'Open with'.
Even then, the user will have to use the Excel import wizard.
Is a .csv file what you want?
You can use the ABAP OLE stuff to write a native Excel file that can be attached to an email.
Or you can (at the cost of more work) write the Excel file (still type XLS) using XML, which gives you more control, and still works when your program is run in the background.
John -
Send Mail with Attachment to Outlook - Version 3.1i
Hi Every one,
I need to draft a logic in 3.1i system that sends a mail to Microsoft outlook inbox with attachments.
The below flow of logic is the core part of the code that I am using for mails without attachments.
OPEN DATASET P_FNAME FOR OUTPUT IN TEXT MODE.
IF P_FROM NE SPACE.
CONCATENATE 'From:'(MFR) P_FROM INTO P_FROM SEPARATED BY SPACE.
TRANSFER P_FROM TO P_FNAME.
ENDIF.
IF P_TO NE SPACE.
CONCATENATE 'To:'(MTO) P_TO INTO P_TO SEPARATED BY SPACE.
TRANSFER P_TO TO P_FNAME.
ENDIF.
IF P_CC NE SPACE.
CONCATENATE 'Cc:'(MCC) P_CC INTO P_CC SEPARATED BY SPACE.
TRANSFER P_CC TO P_FNAME.
ENDIF.
IF P_BCC NE SPACE.
CONCATENATE 'Bcc:'(MBC) P_BCC INTO P_BCC SEPARATED BY SPACE.
TRANSFER P_BCC TO P_FNAME.
ENDIF.
IF P_SUB NE SPACE.
CONCATENATE 'Subject:'(MSB) P_SUB INTO P_SUB SEPARATED BY SPACE.
TRANSFER P_SUB TO P_FNAME.
ENDIF.
LOOP AT S_BODY.
TRANSFER S_BODY-LOW TO P_FNAME.
ENDLOOP.
CLOSE DATASET P_FNAME.
Run External Command: SENDMAIL
CLEAR PARCOM.
REFRESH OUT_LINES.
concatenate 'sendmail -t < ' p_fname into parcom.
Execute Command
call 'system' id 'COMMAND' field PARCOM id 'TAB' field out_lines-SYS .
I have tried creating another file in AL11 and using it as attachment after the transfer of subject text in the above code, like -
CONCATENATE 'Attach:'(MAT) '/usr/sap/GS1/DVEBMGS20/work/attach.txt INTO P_ATTACH SEPARATED BY SPACE.
TRANSFER P_ATTACH TO P_FNAME.
But, this did not work.
Need your help in extending the code to send attachments.
Thanks in Advance,
Regards
Govardhan
Edited by: Gova12 on Sep 8, 2009 12:25 PM
Edited by: Gova12 on Sep 8, 2009 12:57 PM< DATA: i_message TYPE STANDARD TABLE OF solisti1,
i_attach TYPE STANDARD TABLE OF solisti1,
i_attach_body TYPE STANDARD TABLE OF solisti1,
i_suc_notify TYPE STANDARD TABLE OF zifdl,
i_mail_rcpnts TYPE STANDARD TABLE OF zbss_mail.
Populate table with detaisl to be entered into .xls file
PERFORM build_xls_data_table.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment.
*& Form BUILD_XLS_DATA_TABLE
Populate table with detaisl to be entered into .xls file
FORM build_xls_data_table .
CONSTANTS: l_c_head1 TYPE char20 VALUE 'Credit Card Type', "#EC NOTEXT
l_c_head2 TYPE char20 VALUE 'OrigSysRef',
l_c_head3 TYPE char20 VALUE 'OrderNum',
l_c_head4 TYPE char20 VALUE 'OrigSysLineRef',
l_c_head5 TYPE char20 VALUE 'LineNum',
l_c_head6 TYPE char20 VALUE 'ItemNum',
l_c_head7 TYPE char20 VALUE 'LineAmt',
l_c_head8 TYPE char20 VALUE 'ScheduleDate',
l_c_head9 TYPE char20 VALUE 'ReqDate',
l_c_head10 TYPE char20 VALUE 'PromiseDate',
l_c_head11 TYPE char20 VALUE 'AuthReqDate'.
DATA:
l_vtext TYPE char50, "Credit Card Type
l_bstnk TYPE char20, "OrigSysRef
l_vbeln TYPE char20, "OrderNum
l_posex TYPE char20, "OrigSysLineRef
l_posnr TYPE char20, "LineNum
l_matnr TYPE char20, "ItemNum
l_netwr TYPE char20, "LineAmt
l_lddat TYPE char20, "ScheduleDate
l_vdatu TYPE char20, "ReqDate
l_edatu TYPE char20, "PromiseDate
l_req_date TYPE char20, "AuthReqDate
l_sub_tot TYPE vbap-netwr,
l_sto TYPE char20,
l_v_datum TYPE char10,
l_v_time TYPE char10,
l_dummy TYPE char20.
DATA: l_wa_attach TYPE solisti1,
l_wa_attach_body TYPE solisti1,
l_wa_final TYPE t_final.
CLEAR: l_dummy.
CONCATENATE sy-datum(4) sy-datum4(2) sy-datum6(2) INTO l_v_datum SEPARATED BY '/'.
CONCATENATE sy-uzeit(2) sy-uzeit2(2) sy-uzeit4(2) INTO l_v_time SEPARATED BY ':'.
This table contain actual column headings for the fields in the attachment
CLEAR: l_wa_attach.
CONCATENATE text-011
cl_abap_char_utilities=>horizontal_tab
text-003
cl_abap_char_utilities=>horizontal_tab
cl_abap_char_utilities=>horizontal_tab
cl_abap_char_utilities=>horizontal_tab
text-021
l_v_datum
l_v_time
cl_abap_char_utilities=>cr_lf
cl_abap_char_utilities=>cr_lf
INTO l_wa_attach SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
APPEND l_wa_attach TO i_attach.
CLEAR: l_wa_attach.
This table contain actual column headings for the fields in the attachment
CONCATENATE l_c_head1 l_c_head2 l_c_head3 l_c_head4 l_c_head5
l_c_head6 l_c_head7 l_c_head8 l_c_head9 l_c_head10
l_c_head11 cl_abap_char_utilities=>cr_lf
INTO l_wa_attach SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
APPEND l_wa_attach TO i_attach.
CLEAR: l_wa_attach.
This table contain the actual contents of the attachment
SORT i_final BY vbeln posnr.
CLEAR: l_wa_final,l_wa_attach_body.
LOOP AT i_final INTO l_wa_final.
WRITE :
l_wa_final-vtext TO l_vtext,
l_wa_final-bstnk TO l_bstnk,
l_wa_final-vbeln TO l_vbeln,
l_wa_final-posex TO l_posex,
l_wa_final-posnr TO l_posnr,
l_wa_final-matnr TO l_matnr,
l_wa_final-netwr TO l_netwr CURRENCY 'VBAP-WAERK',
l_wa_final-lddat TO l_lddat,
l_wa_final-vdatu TO l_vdatu,
l_wa_final-edatu TO l_edatu,
l_wa_final-req_date TO l_req_date.
l_sub_tot = l_sub_tot + l_wa_final-netwr.
CONCATENATE l_dummy
l_vtext l_bstnk l_vbeln l_posex l_posnr l_matnr
l_netwr l_lddat l_vdatu l_edatu l_req_date
INTO l_wa_attach_body SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
APPEND l_wa_attach_body TO i_attach_body.
CLEAR: l_wa_attach_body.
AT END OF vbeln.
READ TABLE i_final INTO l_wa_final INDEX sy-tabix.
MOVE l_sub_tot TO l_sto.
CONCATENATE cl_abap_char_utilities=>horizontal_tab
cl_abap_char_utilities=>horizontal_tab
cl_abap_char_utilities=>horizontal_tab
'Order total'
l_sto
cl_abap_char_utilities=>cr_lf
INTO l_wa_attach_body SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
APPEND l_wa_attach_body TO i_attach_body.
CLEAR: l_sub_tot,l_sto,l_wa_attach_body.
ENDAT.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
DATA: l_v_desc TYPE sood1-objdes,
l_wa_suc_notify TYPE zifdl,
l_wa_mail_rcpnts TYPE zbss_mail.
Get the mail ids from distribution list
REFRESH: i_suc_notify.
SELECT * INTO TABLE i_suc_notify
FROM zifdl
WHERE zdstlist EQ p_disid.
IF sy-subrc <> c_zero.
Show exit msg if there is no distribution list maintained
MESSAGE e002 WITH text-014 p_disid.
ENDIF.
format the email id details
CLEAR: l_wa_suc_notify,l_wa_mail_rcpnts.
LOOP AT i_suc_notify INTO l_wa_suc_notify .
IF l_wa_suc_notify-zuserid CA '@'.
l_wa_mail_rcpnts-l_adr_name = l_wa_suc_notify-zuserid.
ELSE.
l_wa_mail_rcpnts-usrnam = l_wa_suc_notify-zuserid.
ENDIF.
APPEND l_wa_mail_rcpnts TO i_mail_rcpnts.
CLEAR: l_wa_mail_rcpnts,l_wa_suc_notify.
ENDLOOP.
Populate message body text
PERFORM populate_email_message_body.
Send the report output generated to the list of recipients
MOVE text-012 TO l_v_desc.
Send the e-mail with attachment
TRY.
-------- create persistent send request ------------------------
send_request = cl_bcs=>create_persistent( ).
-------- create and set document with attachment ---------------
create document from internal table with text
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = i_content_body[]
i_subject = subject ).
Check if Attachment should be sent in mail
IF p_skip_attach IS INITIAL.
IF i_attachment_type = 'ALI'.
CALL METHOD document->add_attachment
EXPORTING
i_attachment_type = i_attachment_type
i_attachment_subject = l_filename
i_att_content_hex = i_content_hex.
ELSE.
Get No of lines
DESCRIBE TABLE i_attach LINES l_lines.
Size to multiplied by no of lines
l_size = l_lines * 255.
CALL METHOD document->add_attachment
EXPORTING
i_attachment_type = i_attachment_type
i_attachment_size = l_size
i_attachment_subject = i_filename
i_att_content_text = i_attach[].
ENDIF.
ENDIF.
add document to send request
CALL METHOD send_request->set_document( document ).
--------- add recipient (e-mail address) -----------------------
LOOP AT i_receivers INTO l_receiver_wa.
CLEAR l_mailaddr.
l_mailaddr = l_receiver_wa-receiver.
recipient = cl_cam_address_bcs=>create_internet_address(
l_mailaddr ).
add recipient with its respective attributes to send request
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = express
i_copy = ' '
i_blind_copy = ' '
i_copy = l_receiver_wa-copy
i_blind_copy = l_receiver_wa-blind_copy
i_no_forward = ' '.
ENDLOOP.
*Set sender based on l_userid
lo_sender = cl_sapuser_bcs=>create( l_userid ).
CALL METHOD send_request->set_sender( EXPORTING i_sender = lo_sender ).
---------- send document ---------------------------------------
CALL METHOD send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = sent_to_all ).
IF i_bypass_commit IS INITIAL.
COMMIT WORK.
ENDIF.
* exception handling
CATCH cx_bcs INTO bcs_exception.
ENDTRY. >
Edited by: sugunav on Sep 8, 2009 4:41 PM -
How activate the Adobe pdf in MS Word to send Mail Merge attachment in Outlook
I'm doing a mail merge document in MC Word and want to pdf the individual letters separately then email the document as pdf in Outlook to each different recipient (which has a custom letter). How do I activate that feature in the MS Word program that typically shows under the Mailing Menu?
I sincerely appreciate a quick response. I am under a steep deadline.
Thanks!Are you talking about the Acrobat PDFMaker Office COM add in? Check out the technote: http://kb2.adobe.com/cps/401/kb401734.html
-
Error message when sending mail
I am using a G3 tower runnig OSX 10.3.9 with 768 megs of memory. I am using Mac Mail and had tried to send an email that I had accidentally attached the wrong file (12 megs). I realized my mistake after I hit send and I tried to delete it from the outbox. I did, but then it wouldn't let me send any emails. It just stayed in the outbox. I can still receive mail just fine. I researched your message boards and thought I came up with the solution; delete the outbox file from the library/mail/mailbox folder. I did that and then restarted. Then when I tried to send an email it gave me this error message"
"This message could not be delivered and will remain in your Outbox until it can be delivered.
5.7.1 This message has been blocked because it is from a RBL/ORDBL IP address.(connection black ip 66.205.147.67)"
My ISP tech support people are certain that this is a software problem and they won't help me. Any ideas or suggestions would be appreciated. Thanks.This is not a software problem.
It appears your IP address or a range of IP addresses
including your IP address has been incorrectly
identified by the recipient's incoming mail server as
sending spam thru the account's SMTP server and has
been black listed.
Is your computer IP address 66.205.147.67?
Have you tried sending a test message to yourself or
to another email address?
Yes, that is my ip address. Yes, I have tried sending mail to myself and it stays in the outbox after giving me that error message. Is there anything I can tell my ISP to do? Or is it beyond their control?
Maybe you are looking for
-
Hi, When I am doing the delivery for stock transfer with t code VL10B,I am not able to do the delivery.What could be the reason. There is enouhg material in stock and material is also created for both the plant. Regards prabudh
-
Can i download reader XI w/o it overwriting my acrobat 7.0 professional
i have acrobat 7.0 professional and everytime i've downloaded a version of reader, it overwrites my acrobat 7.0 professional. is there a way to download reader XI and keep my acrobat 7.0 professional intack?
-
How do I get my iPad to stop alerting me when I have junk mail?
How can I get my ipad to not alert me when junk mail comes in and only when actual mail comes in?
-
hi - i had to restore from an older version of my application and i am receiving this error on build" "error It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a
-
I am still having problems like this. I'm 93 years old and the only thing that works (my son does this) is to disconnect and reconnect the HDMI cable. Since I can't get up and down repeatedly during the day to do this (sometimes it goes out multipl