Out of office message when sending mail to Lotus Notes from SAP

Hi,
Is it possible to have an 'out of office' message when sending mail to Lotus Notes from SAP?
I'm sending account statements by mail via a modified version of function FI_OPT_ARCHIVE_CORRESPONDENCE. The SAP username is send as a parameter, and later converted to the e-mail saved in the user profile. This works, - but I would like to have an out of office reply if the user I send to is out of office.
Hope someone can help...
Regards,
Lene

As Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.
Srinivas

Similar Messages

  • Sending mail to LOTUS NOTES inbox.

    Hi all,
    I am working on WORKFLOWS and i need to send a mail to lotus notes inbox. I have got the function module to send the mail.I Created a method for sending the mail. But Where and how to impletement this method in the work flow.
    Please through some light on this.
    Regards,
    Gautham

    As Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
    Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.
    Srinivas

  • Send mail via Lotus Notes R5

    Does anyone have any examples of sending e-mail through Lotus Notes via forms 6i?
    I have searched the forum and there seems to be very few items on Lotus Notes.
    Thanks in advance.
    Lakmal

    Fainaly I found the way.. here is the coding
    PROCEDURE send_email(p_recipient_in IN VARCHAR2,
    p_copy_to_in IN VARCHAR2,
    p_blind_copy_to_in IN VARCHAR2,
    p_subject_in IN VARCHAR2,
    p_text_in IN VARCHAR2,
    p_return_receipt_in IN VARCHAR2,
    p_no_of_attachments IN NUMBER DEFAULT 0,
    p_mood_stamp_in IN VARCHAR2,
    p_view_icon_in IN NUMBER) IS
    -- Local Variable Declaration
    lv_args ole2.list_type;
    lv_db ole2.obj_type;
    lv_doc ole2.obj_type;
    lv_return_receipt VARCHAR2(1);
    lv_session ole2.obj_type;
    lv_attach1 ole2.obj_type;
    lv_attach2 ole2.obj_type;
    lv_mailserver VARCHAR2(200) := 'ew-cmb';
    lv_sqlerrm VARCHAR2(255);
    BEGIN
         lv_session := ole2.Create_Obj('Notes.NotesSession');
         lv_args := ole2.Create_Arglist;
         ole2.Add_Arg(lv_args, lv_mailserver); -- Mail Server
         ole2.Add_Arg(lv_args, 'names.nsf'); -- Mail File
         ole2.Add_Arg(lv_args, 'mail\Lakmal_M.nsf'); Mail File
         lv_db := ole2.Invoke_Obj(lv_session, 'GetDatabase', lv_args);
         ole2.Destroy_Arglist(lv_args);
         lv_doc := ole2.Invoke_Obj(lv_db, 'CreateDocument',lv_args);
         ole2.Set_Property(lv_doc, 'SendTo', p_recipient_in);
    If (p_copy_to_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'CopyTo', p_copy_to_in);
    End If;
    If (p_blind_copy_to_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'BlindCopyTo', p_blind_copy_to_in);
    End If;
    -- Guidelines for mood stamp as to what argument values should be passed
    -- ''- Normal
    -- P - Personal
    -- C - Confidential
    -- R - Private
    -- F - Flame
    -- Q - Question
    -- G - Good Job!
    -- M - Reminder
    -- J - Joke
    -- T - Thank You!
    If (p_mood_stamp_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'SenderTag', p_mood_stamp_in);
    End If;
    If (p_subject_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'Subject', p_subject_in);
    End If;
    If (p_text_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'Body', p_text_in);
    End IF;
    --To embed attachments add the following lines to code immediately after
    -- setting the 'Body' property :
    If (nvl(p_no_of_attachments,0) = 0) then -- No attachments
         null;
    Else
         lv_args := ole2.Create_Arglist;
         ole2.Add_Arg(lv_args, 'Attachments');
         lv_attach1 := ole2.Invoke_Obj(lv_doc, 'CreateRichTextItem', lv_args);
         ole2.Destroy_Arglist(lv_args);
         lv_args := ole2.Create_Arglist;
         ole2.Add_Arg(lv_args, 1454);
         ole2.Add_Arg(lv_args, '');
         Ole2.Add_Arg(lv_args, 'C:\Install.log');
         lv_attach2 := ole2.Invoke_Obj(lv_attach1,'EMBEDOBJECT', lv_args);
    End If;
    -- 1-Return Receipt
    -- 0-No Return Receipt
    lv_return_receipt := TRANSLATE(NVL(UPPER(p_return_receipt_in), 'N'), ' NY', '001');
    ole2.Set_Property(lv_doc, 'ReturnReceipt', lv_return_receipt);
    If (lv_return_receipt = '1') then
         ole2.Set_Property(lv_doc, 'DeliveryReport', 'B');
    End If;
    -- The following values can be used to set the icon that appears to the left
    -- of the senders name.
    -- 0 - none
    -- 10 - finger with ribbon
    -- 23 - newspaper
    -- 74 - flame
    -- 83 - thumbs up
    -- 85 - happy face
    -- 133 - envelope
    -- 159 - star
    -- 162 - question mark
    -- 163 - investigator
    -- 166 - glasses
    -- 169 - red circle
    -- 170 - gold circle
    If (p_view_icon_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, '_ViewIcon', p_view_icon_in);
    End If;
    ole2.Destroy_Arglist(lv_args);
    lv_args := ole2.Create_Arglist;
    ole2.Add_Arg(lv_args, 0);
    ole2.Invoke(lv_doc, 'Send', lv_args);
    ole2.Destroy_Arglist(lv_args);
    ole2.Release_Obj(lv_session);
    ole2.Release_Obj(lv_db);
    ole2.Release_Obj(lv_doc);
    EXCEPTION
         WHEN OTHERS THEN
         lv_sqlerrm := substr(sqlerrm,1,255);
         Message('Unable to send mail to ' || p_recipient_in);
         Message('Unable to send mail to ' || p_recipient_in);
         Message('Error is : '||lv_sqlerrm);
         Message('Error is : '||lv_sqlerrm);
         Set_Application_Property(CURSOR_STYLE, 'DEFAULT');
         RAISE;
    END;

  • Can JavaMail send mail to Lotus Notes?

    Can JavaMail send e-mail to Lotus Notes?
    If I can't, is there any alternative method?
    I need it for my J2EE project.
    Thanks!!
    Dan. :)

    Cann you explain how?
    Can you put an example?
    Thanks in advance.

  • 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?

  • I get the following error message when sending mail when NOT connected  by WiFi

    "Cannot Send Mail
    A copy has been placed in your Outbox.  The recipient "xxxxxxx" was rejected by the server because it does not allow relaying"
    My phone operator is Orange France and my email is Club-Internet (SFR)
    Can anybody help please?
    MTIA
    Paul

    Why are you using a usb ethernet adaptor? Just plug the modem into the usb port.

  • Sending mail to Internet address from SAP system

    Hi...
    My requirement is to send a mail to an internet address say ABC@companyid from SAP.
    I have used a FM So_New_Document_Send_API1 for the purpose.For this I have provided
                 e_mailrec-receiver = w_emailid.
                  e_mailrec-rec_type = 'U'.
                  APPEND e_mailrec.
    But I get an error msg in SOST, that the route from (SAP server) to (mail id) not found.
    Instead of internet address when I give rec_type as B i.e. SAP USER it sends a mail to my SAP inbox.
    I have also checked SAPConnect, and it is fine.
    Is the above FM only for sending mails to SAP id, then wats the FM for sending mails to internet address? Its just sending a 1 line mail without attachment.
    P.S: I have gone through search in sdn so please don't provide me with links to other threads.
    Reply only if you can actually help and know wats this about.
    Thnaks and Regards.

    These are the FM for sending external email :-
    SO_DOCUMENT_SEND_API1
    Send new document with attachments via RFC
    SO_NEW_DOCUMENT_ATT_SEND_API1
    (In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
    Send new document with attachments via RFC
    Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.
    SO_NEW_DOCUMENT_SEND_API1
    Send new document
    For Code
    http://www.forum.saptechies.com/viewtopic.php?t=5562

  • Send mails via Lotus Notes using VFP

    Hi all,
    I have an VFP application which is allowing send emails from Lotus Notes. Currently it sends mails from the default account in Lotus notes. But now there is a requirement as follows.
    An email address can be defined from our application. Say
    [email protected] Lotus notes has been configured with two mail accounts such as
    [email protected] and [email protected] and the default email is
    [email protected] Now we have to send emails from our application with
    [email protected] email address. Not the default email address.
    To do this we have to read all email accounts configured in Lotus Notes using VFP. And look for the email address
    [email protected] and mail should be sent with that account. Can anybody guide me how to do this using VFP? Thanks.
    Best Regards,

    This is actually a Notes question. You need to find out whether the Notes automation server provides what you need and how to do it.
    Tamar

  • SAPCONNECT Send mail to Lotus Notes

    Hi,
    I would like to know if is possible send mails from SAP to Lotus Notes.
    When I send a mail to other destination by SMTP Node, the process works successfully.
    But if the destination is a Lotus Notes address this process fails.
    Could you help me with this issue?
    Thank you very much in advance.
    Best regards.
    Emilio Dorado.

    Hi Alfredo,
    Yes its posible, please install Lotus Notes Domino MTA.
    And configure the notes.ini
    $SapDestination=MAIL_GATEWAY_CRMXXX
    $SapClient=XXX
    $SapUsername=MAIL
    $SapLanguage=E
    $ObjServerSearchChars="_"
    $ObjServerReplaceChars=" "
    $ObjClientSearchChars="@ "
    $ObjClientReplaceChars="&_"
    $ObjServerDontAttachBody=0
    $ObjServerAddressIsInternet=1
    $ObjServerMinConfirmation=6
    $ObjServerChangeRAWtoTXT=1
    Regards,
    Fendi Suyanto

  • Empty messages when sending mail in russian

    Hello!
    When i sending messages in russian - other side receive just blank message with no text...
    Please help with this...

    Hi platoinframusic, and a warm welcome to the forums!
    I'm no expert on this, but I think it depends on the ISO chaachterset & font you use, and what ones they use.
    Can you have them Forward one back to you to see if it comes in with text?
    Backwards clue...
    http://ask.metafilter.com/37418/How-can-I-reject-foreign-languages-in-OSX-Mail
    Clue 2...
    http://db.tidbits.com/article/6774

  • Error message when sending mail : sending the message failed because you have exceeeded your sending limit"

    I was trying to email a link from a webpage I loaded in safari.  The email sits in my outbox with a red exclamation point.  WIll not send.  Keeping getting an error message sending the message failed because you have exceeded your sending limit

    "I keep getting a "you have exceeded your limit" on my email."
    No explanation, makes no sense, it's happening with others.
    I have to change (in my outgoing/unsent folder) my sending address from .mac to me.com. After reading the following helpful post:
    To get outbox individual mails sent, Try going to outbox, opening each email to edit and change sending email to [email protected] by clicking arrow in from line.  If [email protected] account does not show, go to settings > mail > icloud account > add "[email protected]"  And, until this issue is resolved, set mail to send from [email protected]
    (and you should be using smtp.mail.me.com)

  • When trying to send mail via Lotus Notes webmail, mail does not get send

    Firefox 4.01, XUL-manager installed.
    Logged in to corporate webmail, can see mails etc. I can create a mail (new, reply, etc.) but when I hit the send button, I get a popup asking if a copy needs to be archived. no matter if I say yes or no, the mail does not get send. Also saving as draft does not work.

    Hi,
    yes smtp is a standard and I think you could use this with almost every smtp server.
    If your smtp server doesn't require authentication you can access it without an authenticator
    I think...
    Best regards,
    Jens

  • Is it possible to use a non-null sender in auto-reply / out of office messages?

    I am using a smarthost that blocks null senders by default.  They have indicated that they can provide an override for our server to allow null senders, but the e-mail from null senders will go out a "high risk" IP that is likely to get
    blacklisted because e-mail from null senders is triggering more blacklisting as of late.  I would prefer to make Exchange populate the sender field on the outbound auto-reply / out of office messages.  Is this possible?

    Hi PRDIT,
    Based on my knowledge, it is impossible to achieve this goal by normal method directly.
    Thanks
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

  • Apple mail out of office rule is sending auto replies to all emails not just newly received emails--HELP!

    Apple mail out of office rule is sending auto replies to all emails not just newly received emails--HELP!  I set up the rule according to another apple support thread and instead of only sending the reply to new mail received, it was sent to all messages I believe that were in my INBOX, thankfully I only had a few but several people that hadn't sent me emails since I set up the rule, received the OUT OF OFFICE reply.  Please help.  Here is the procedure I followed for the out of office rule-
    http://www.ecu.edu/cs-itcs/mac/Apple-Mail-Out-of-Office-Replies.cfm
    I just used my email account which is a business account- not an ECU account but these rules according to the apple thread apply for all emails. Thank you

    You can set it easily...
    To access this feature in Apple's Mail app, right click on any sub-folder (like your exchange inbox on the left) and choose "Get Account Info." A window will pop up that looks like the one below. Make sure to select your Exchange account from the Account dropdown. Then click on the Out Of Office tab. If you have ever put in an Out of Office message in the past it will be displayed here. You can adjust and set your Out of Office from Apple Mail from within this tab.
    Screenshots at:
    http://blogs.appriver.com/blog/behind-the-scenes/setting-out-of-office-from-appl e-mail-app

  • How do i set up an "out of office" message on Mail?

    how do i set up an "out of office" message on Mail?

    There is a ay to do it in Mail, using rules, but that's not a very good idea. Homemade rules can cause things like infinite mail loops (where two accounts auto-reply to each others until one or both mailboxes fill up and cannot receive any more messages). See what your mail server offers in this regard. Auto-replies on the server are typically far more reliable and less error-prone.

Maybe you are looking for

  • How to do Multithreading in Oracle PlSql using a Single Session

    Hi All, I have a complex but interesting requirement. 1) I have a table with 90k rows. 2) My PlSql Package picks up all the 90k rows one by one, does some processing/transformation on it 3) if the row satisfies some business rules, then it gets inser

  • Can't access EJB deployed on remote OC4J - what am I doing wrong?

    I'm unable to access an EJB deployed on a remote OC4J instance (ie, part of a 9iAS installation on another machine vs local in JDeveloper). I've reverted to a stupid-simple EJB in hopes of getting it going prior to trying my actual code. The EJB work

  • Acrobat Pro V8 problem with rotating PDFs

    I have CS3 suite with Acrobat Pro V8.1.2 running on OSX 10.5.4. I rotate PDFs for our printer (photographic Lightjet430 laser printer using postershop) it saves time, and it also makes things easier for us in general. Now I sometimes rip the PDFs int

  • Send smartforms as fax and email

    Hi SAP gurus, Can you please tell me on how to send smartforms as fax and email? I would really appreciate your help. Thanks in advance.

  • Changing host name

    We are going to change the name of our UNIX servers. How will this affect my Oracle database besides changing connectivity in tsnames?