How to send mails to External Email-ID.

I have simple Workflow which I have Created to Just Send Mail to SAP-B WorkSpace on execution of the WF.
Can Anyone tell me how to Many populate the Workflow to Send this mail to External Email-ID.
Regards,
Shashank

Hello,
In the sendmail step of the workflow, use the option of email address for 'Recipient type' and provide the workflow container element which has the external mail address of the user to whom the mail is to be sent or directly the email address directly. Then contact the basis people to check for any scheduled background job to send the mail from SAP to external mail address. If there is no job present, advise them to create one.
Hope this will help.
Regards,
Samson

Similar Messages

  • How to send mail to external email within workflow

    Hi Expert,
    I know this question has been questioned before in the forum but that is quite different from what i want. After researching in this forum i found out that forwarding was the way to move the inbox into the external mail (using scheduled job) but what i want is to include send mail activity within the workflow that directly send email into the external email ( so no scheduled job). The logic is perhaps:
    1. get the email address
    2. use send mail activity
    3. Assign the element defined to E-Mail Address.
    4. send the email.
    But I'm unable to retrieve the email address, store it and pass it into the email (as element). Can somebody help me with this?
    Many Thanks.

    Use the below code(rule(fm)), hope it works for you.
    I have placed the SAP user id's in custom table & inserted e-mailid's to them in su01.
    FUNCTION ZMANI_GET_PLANNER.
    *"*"Local Interface:
    *"  TABLES
    *"      AC_CONTAINER STRUCTURE  SWCONT OPTIONAL
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
      INCLUDE <cntn01>.
      TYPES : BEGIN OF ty_users.
              INCLUDE STRUCTURE ZMANI_AGENT_MAST.
      TYPES : END OF ty_users.
      DATA: org_agent LIKE wfsyst-agent,
            lt_holders TYPE STANDARD TABLE OF swhactor,
            lwa_holders TYPE swhactor,
    *        lt_users TYPE STANDARD TABLE OF ty_users,
            lwa_users TYPE ty_users,
            v_len TYPE i,
    *        v_bname LIKE ztest_users-bname,
            num_lines TYPE i.
    ** Read values assigned to the rule criteria
      swc_get_element ac_container 'org_agent' org_agent.
    * Get the superior
      SELECT SINGLE *
        FROM ZMANI_AGENT_MAST
        INTO CORRESPONDING FIELDS OF lwa_users
       WHERE MMC = 'Y'.
      IF NOT lwa_users IS INITIAL.
        REFRESH lt_holders[].
        lwa_holders-otype = 'US'.
        lwa_holders-objid = lwa_users-BNAME.
        APPEND lwa_holders TO lt_holders.
        APPEND LINES OF lt_holders TO actor_tab.
      ENDIF.
      DESCRIBE TABLE actor_tab LINES num_lines.
      IF num_lines IS INITIAL.
        RAISE nobody_found.
      ENDIF.
    ENDFUNCTION.

  • WorkFlows:How to send mail to external address

    Hi all,
    I am new to workflows, I want to send mail to my outlook form workflow. I have added mail id in Tcode: SO13 in Automatic Forwarding Tab. when I excute the workflow by adding mail step. the mail is going to sap inbox but it is not going to my outlook. Can anybody please explain.
    Thanks in Advance.
    Edited by: Ranjith Reddy on Feb 20, 2009 11:32 AM

    Hi,
    The 'SendMail' activity is failing in my workflow if I give the Recipient type 'E-mail Address' and hard code the email id. I tried the other way of giving expression also, both have resulted in error halting the workflow.
    Is there any other configuration need to be done to send mail to external system (mail server) ? Please help .
    Regards,
    Gowri.S

  • How to send mails to external maild like yahoo

    I am using 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    funtion module to send mails to internal office mail ids and working correctly .
    Not the requirement changed . I need to send mail to external mail id like
    per at the rateyahoo dot com also.
    What can I do to send mail to external mailids like yahoo.
    Do I need to use flag some thing ?
    THANSK IN ADVANCE.

    Hi,
    Hi,
    It is posible to send the mail to external address usign the above FM . But some configurations have to be maitnaied in SCOT Tcode for INT (Internet) ->SMTP protocal. we need to give the Mail Host and Mail Port all this information is usually done by the BASIS. Please approach them for these settings and try again with the FM. Here we have to configure it to Yahoo so that we can send the mail.
    Regards
    Lekha

  • How to send Mail to external system - Check the program ?

    Hi all,
          The following is a ABAP Program to Send a mail to external mail id. this program is not showing error but when executed it say "No message sent"
    what i've to do to overcome this hurdles. if any solution or prerequisites then '
    please give me a solution. 
    PARAMETERS: psubject(40) type c default  'Hello',
                p_email(40)   type c default '[email protected]' .
    data:   it_packing_list like sopcklsti1 occurs 0 with header line,
            it_contents like solisti1 occurs 0 with header line,
            it_receivers like somlreci1 occurs 0 with header line,
            it_attachment like solisti1 occurs 0 with header line,
            gd_cnt type i,
            gd_sent_all(1) type c,
            gd_doc_data like sodocchgi1,
            gd_error type sy-subrc.
    data:   it_message type standard table of SOLISTI1 initial size 0
                    with header line.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Perform populate_message_table.
    *Send email message, although is not sent from SAP until mail send
    *program has been executed(rsconn01)
    PERFORM send_email_message.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *&      Form  POPULATE_MESSAGE_TABLE
          Adds text to email text table
    form populate_message_table.
      Append 'Email line 1' to it_message.
      Append 'Email line 2' to it_message.
      Append 'Email line 3' to it_message.
      Append 'Email line 4' to it_message.
    endform.                    " POPULATE_MESSAGE_TABLE
    *&      Form  SEND_EMAIL_MESSAGE
          Send email message
    form send_email_message.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
      it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_txt               = it_message
                receivers                  = it_receivers
           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.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    endform.                    " SEND_EMAIL_MESSAGE
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
          submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    Thanks in Advance,
        Manian

    Hi,
       I can get the idea but i'm asking u about the prerequisites such as SCOT - sap connect or something else has to be done before executing the program.
    if i need any pls let me know?
    I've tried the program but it say " No Message sent" and i didn't get any mail to mail id.
    thanks in advance,
      Manian.

  • Outlook and mail services/ can't send mail to external emails

    I have been setting up os x server as a mail server for my company. I bound open directory to active directory but could not manage mail for the active directory users that way, so I started creating new users through open directory.
    I've hit a couple snags that I can't quite figure out. First, I can send and receive mail to other open directory accounts fine, but not externally. I've set up my MX records and a name records for my Internet domain.
    I can receive emails from an external email address, I.e. Gmail, but cannot send to them. It gets stuck in the mail server's queue. Information logs says operation timed out for smtp.gmail.com and their ip address.
    I forwarded the ports, 25, 993, etc from my dsl router to my firewall router, then from there to my mail servers static ip address. I'm at a loss. If it matters, I'm on a residential dsl currently, my ISP claims to block port 25, but in the log it looks like it goes through and sees gmails ip.
    Secondly, this is all through the mail.app for my MBP. When I set up outlook 2003 on xp, I can send emails, but it doesn't download any. No errors in either the information log or outlook, outlook says it completed successfully. If it matters, I was getting an error from outlook previously, helo error for not a fqdn, but I deleted a line in the main.cf that required fqdns.
    I appreciate any help.

    ***EDIT***  I have outlook working....now it is just the external email thing.  Again...my ISP says they block port 25, but I went into /etc/postmail/master.cf and added to have SMTP go on port 2525 and still no go.  Any help would be greatly appreciated!
    ***END EDIT***
    I apologize...here is the SMTP information level log for sending to gmail
    Jun 29 16:36:18 ANSENMSG postfix/smtp[17251]: 152CB659FA: to=<***@*******.***>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.3, delays=0.03/0/0/6.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=15055-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 582EA65A09)
    Jun 29 16:36:18 ANSENMSG postfix/qmgr[15069]: 152CB659FA: removed
    Jun 29 16:36:48 ANSENMSG postfix/smtp[17299]: connect to mail.*******.com[**.***.**.**]:25: Operation timed out

  • Sending mails to external email address in 4.6C

    Requirement is to send mails to outlook express in 4.6C. In SCOT transaction need to provide RFC connection for smtp server.
    what should be the RFC connection type and steps to create RFC connection to smtp server in 4.6C.
    It would be of great help if someone provide solution on the requirement.

    Hi,
    It is a basis configuration and you should use HTTP Node instead of RFC Node. HTTP Node is a node that uses SAPConnect method.
    Regards,

  • How to send invoice to external  email

    Hi All,
    Can anyone help me with the detail steps to configure settings so i can send invoice to the customer in their mail id.
    Message was edited by: Monosij Bagchi

    Hai Monosij Bagchi
    Go through the following Link
    http://www.sapgenie.com/its/email.htm
    Thanks & Regards
    Sreenivasulu P

  • How to send mail to external system

    Dear WF Experts,
    I have done all the work flow setting in project system module , so that if budget exceeds bya  certain %, then mail should go to concern person and its working fyn.
    Now i want that same mail to go to some external MS-outlook id.
    I tried by putting the mail address in Setting->office setting->automatic forwarding and entered the address.
    But the mails are not getting transfered and in SOST transaction i can see the error message like 'Message cannot be transferred to node SMTP due
    connection error (final)'
    can anybody suggest, where may b d mistake.
    thnx in adv.
    ashis

    Hi Ashis,
    This is a very common problem and if you search the forums thoroughly you would find some very good replies to it.
    The error that you are getting is because there is some error in the SMTP connectivity established in the system. Ask your basis team to check the SCOT settings.
    Check if the correct SMTP host and port been specified in the SCOT settings.
    Also check if OSS note 455140 has been applied to your system.
    Regards,
    Saumya

  • Send Alerts to external email ids

    Dear All,
    I am using ALERT MANAGEMENT to raise alerts and send mail to recipients. I am able to send external mails to
    those users who have got a SAP Userid where the email id is maintained in the user profile. But suppose I want
    to send mails to external users who do not have SAP Userid, then how to do it.  I checked the program
    RSALERTTEST where it gives the option to send mails to external email ids.
    Regards,
    Pravat.

    Hi Pravat,
    You can do this with SALRT_CREATE_API. But you have to create a alert  category. go to ALRTCATDEF with a user role " SAP_XI_ADMINISTRATOR".
    Then create category and give your receivers.
    Then write a program like rsalrtdemo1 . This shows you how an alert can be called directly by a function module.
    Also you can get more detailed information from these links :
    Creating Alert Categories : http://help.sap.com/saphelp_nw70/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
    Triggering Alerts : http://help.sap.com/saphelp_nw04s/helpdata/en/d0/5e073c8e56f658e10000000a114084/content.htm
    I hope they help you.
    Regards,
    Orhan

  • How to send sapmails to external mail systems

    Hi,
    how to send sapmails to external mail systems....
    like if we want to mail a purchase order from SAP System to *@yahaoo.com or @.com.
    TY.

    hi manish,
    u can do it.
    chk this .
    chk this code
    DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: doc_chng LIKE sodocchgi1.
    *& Form f_send_mail
    text
    --> p1 text
    <-- p2 text
    FORM f_send_mail .
    *store the vendor name, vendor email id , employee name and employee
    *email id in the internal table int_crb
    Creation of the document to be sent
    CLEAR doc_chng.
    REFRESH objpack.
    REFRESH objhead.
    REFRESH reclist.
    REFRESH objtxt.
    File Name
    doc_chng-obj_name = 'SHIPMENT'.
    Mail Subject
    CONCATENATE 'Shipment Document No.' int_crb_mail-shipdocnum
    'Cleared.'
    INTO doc_chng-obj_descr SEPARATED BY ' '.
    Mail Contents
    objtxt-line = 'Hi,'.
    APPEND objtxt.
    objtxt-line = ' '.
    APPEND objtxt.
    CONCATENATE 'Shipment Document Number ' int_crb_mail-shipdocnum
    ' cleared for move.' INTO objtxt-line SEPARATED BY ' '.
    APPEND objtxt.
    objtxt-line = ' '.
    APPEND objtxt.
    CLEAR objtxt.
    objtxt-line = 'Regards '.
    APPEND objtxt.
    objtxt-line = ' '.
    APPEND objtxt.
    objtxt-line = 'SAP '.
    APPEND objtxt.
    CLEAR objtxt.
    APPEND objtxt.
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN(
    objtxt ).
    Creation of the entry for the compressed document
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'RAW'.
    APPEND objpack.
    Completing the recipient list
    target recipent
    CLEAR reclist.
    reclist-receiver = int_crb_mail-empperid. "employee email ID
    "wf_empperid.
    reclist-express = 'X'.
    reclist-rec_type = 'U'.
    APPEND reclist.
    copy recipents
    CLEAR reclist.
    reclist-receiver = int_crb_mail-smtp_addr."vendor email id
    reclist-express = 'X'.
    reclist-rec_type = 'U'.
    reclist-copy = 'X'.
    APPEND reclist.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = doc_chng
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    operation_no_authorization = 4
    OTHERS = 99.
    COMMIT WORK.
    SUBMIT rsconn01
    WITH mode = 'INT'
    WITH output = ' '
    AND RETURN.
    ENDFORM. " f_send_mail
    for any clarifiaction pls mail me.
    pls reward points, if this helped u.
    regards,
    anversha.
    [email protected]

  • How to send active links in email from firefox. Works in IE but not Firefox... Is there a setting to change?

    how to send active links in email from firefox. Works in IE but not Firefox... Is there a setting to change?
    == This happened ==
    Every time Firefox opened
    == Always

    Check with your web mail service provider for help with that issue.

  • How to send active links in email from firefox

    how to send active links in email from firefox. Works in IE but not Firefox... Is there a setting to change?
    == Operating system ==
    Windows 7

    Check with your web mail service provider for help with that issue.

  • Problem while sending mail to external mail ids

    Hi All,
    while trying to send mail to external mail ids through some custom program, i'm facing an error as "recipient not in address management".
    Can anyone giude me why this is occuring and actually what is this Address management?
    Thanks & Regards,
    Anil.

    Hi,
    Check this sample code..
    http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
    * Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
    <b>  it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.</b>
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    what Fm you are using..?are you specifying like above for e-mail address..
    Regards
    vijay

  • Mailx command unable to send mail to internal email server

    Hi,
    I am trying to send mail from my shell program registered as concurrent request in R12 its working fine for external server like (gmail,yahoo,hotmail etc) but when Im trying to send mail to internal mail within organization it fails. It does'nt error out though. Our dba has been working on the same but no luck. Any inputs will be of great help.
    echo "Mail"|mailx -s "Test Mail from DEV" "[email protected]" ( fails within internal domain)
    echo "Mail"|mailx -s "Test Mail from DEV" "[email protected]" ( successfully sends mail within external domain)
    I tried disabling the dns resolution for public sites in the configuration file (/etc/resolve.conf) but no luck. Thanks in advance.
    Thanks,
    Ahmed

    Thanks Koushik for your prompt reply. You mean the configuration file /etc/resolve.conf right? Here you go. If I comment all the below lines the mail does not work even for external sites as well.
    -----------------------------------------------------------------------resolve.conf-------------------------------------------------------------------------------------------------
    search companymaildomain.com
    nameserver aa.aa.aaa.a
    nameserver bbb.bb.bb.b
    Here first line has the company domain
    second and third line is the ip address of primary and secondary dns server
    Thanks,
    Ahmed

Maybe you are looking for

  • Trouble Playing DVDs with Mini DisplayPort To Dual-Link DVI Adapter ?

    So I went and bought the Mini DisplayPort To Dual-Link DVI Adapter for my 30" Cinema display to connect to my MacBook Pro. I open up Apple's DVD player and the screen is blank but I can still hear audio. If I unplug the display, the movie will displa

  • Service entry sheet creation thru bapi for multiple line items

    HI All, WE are using BAPI_ENTRYSHEET_CREATE bapi for the creation of service entry sheet against service PO. We are able to create the service entry sheet successfully with single sevice line item using this bapi,but when we are going for multiple se

  • HT4859 how do you know what is backed up/restored from iCloud

    How do you know what items are backed up to iCloud and also if the restore is correctly restored from iCloud.Are applications also backed up to iCloud

  • Multiple video clips in STP2?

    Hi, Is it possible to import more than one video clip into a project? I don't seem to be able to... Steve

  • Ivi problems with niscope

    I am trying to use a NI-5112 digitizer utilizing IVI from within TestStand 2 and get the following Error: Error executing substep 'Post'. An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types 1.0 Type Library' An error oc