Configure Exchange to send emails to external addresses

I am working on a demo and I installed Exchange 2010 on the development environment for using in the Demo. Now I need to send e-mails outside of the development environment - to the actual corporate email addresses and I have been given a mail relay "smtp.corp.XXX.com".
How do I configure Exchange to use that mail relay and (1) send e-mails from the dev Exchange and (2) receive emails using the mail relay? Can someone please help?
I do not have any knowledge/experience about Exchange. I was just  given Exchange setup files and I installed it using the default configuration. So it would be helpful if you could point to some step-by-step articles.
Thanks a lot!
John

Hi John,
We can following these steps to create a relay connector in Hub Transport server:
1.Open Exchange Management Console.
2.Expand Server Configuration > Hub Transport.
3. Select the desired Hub Transport.
4.Click on New Receive Connector item located on the Toolbox Actions.
5. On the Introduction page, Name our connector (Relay) and select Custom, then click Next.
6. On the Local Network settings page, remove the existing
All Available IPv4 entry. Add a dedicated IP address for this connector, set the Port to 25 and specific the FQDN: smtp.corp.XXX.com.
7. In Remote Network settings page, remove the default IP range and click Add button to
type the IP address or IP address range for the remote messaging server or servers that are allowed to relay mail on this server.
8. Click OK to add it and then Next to continue.
9. Click New button to complete the wizard.
10. In the work pane, select the Receive connector that you created.
11. Under the name of the Receive connector in the action pane, click Properties to open the Properties page.
12. Click the Permission Groups tab. Select Anonymous users.
13. Click OK to save your changes and exit the Properties page.
14. Run the following command to grant relay permission to anonymous connections on the new Receive connector:
Get-ReceiveConnector "Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
Here is an article about it:
http://technet.microsoft.com/en-us/library/bb232021(v=exchg.141).aspx
Regards,
Winnie Liang
TechNet Community Support

Similar Messages

  • How to configure SCOT/RFC destination to send email to external addresses

    Hi,
    I have an ABAP program which sends out an email to email addresses such as [email protected], i configured SCOT and entered our company exchange server address in the SMTP node, and it works just fine. Problem is the program also needs to send emails to internet mail id's such as [email protected] or [email protected], and here it doesnt work, the email request shows up in SOST as failed saying that the address is unrecognized, we are able to send receive emails from internet id's as well using our email client (outlook), i just have no idea how to get the same to work from my ABAP program, i guess i am missing some BASIS configuration, can anybody help please?

    Please see the following example. Make sure you are setting the recipient type correctly.
    report zrich_0003 .
    data: maildata type sodocchgi1.
    data: mailtxt  type table of solisti1 with header line.
    data: mailrec  type table of somlrec90 with header line.
    start-of-selection.
      clear:    maildata, mailtxt,  mailrec.
      refresh:  mailtxt, mailrec.
      maildata-obj_name = 'TEST'.
      maildata-obj_descr = 'Test'.
      maildata-obj_langu = sy-langu.
      mailtxt-line = 'This is a test'.
      append mailtxt.
      mailrec-receiver = '[email protected]'.
    <b>  mailrec-rec_type  = 'U'.</b>
      append mailrec.
      call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              = maildata
                document_type              = 'RAW'
                put_in_outbox              = 'X'
           tables
                object_header              = mailtxt
                object_content             = mailtxt
                receivers                  = mailrec
           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 sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    Regards,
    Rich Heilman

  • Email to external address

    I am using the below code to send emails to external address and getting error...  let me if there's something wrong in the code..........
    DATA: gs_obj_hd_change TYPE sood1.
    DATA: gt_rec_tab TYPE STANDARD TABLE OF soos1.
    DATA: gt_objcont TYPE STANDARD TABLE OF soli.
    DATA: WA_REC_TAB TYPE SOOS1,
          WA_OBJCONT TYPE SOLI.
    *   Subject
    gs_obj_hd_change-objdes = 'Test Email from SAP'.
    *   Recipient
    WA_rec_tab-recextnam = 'Text-001'. " contains email.
    WA_rec_tab-recesc    = 'U'.
    APPEND WA_rec_tab TO gt_rec_tab.
    * content.
    wa_objcont-LINE = 'line1'.
    append wa_objcont to gt_objcont.
    CALL FUNCTION 'SO_OBJECT_SEND'
      EXPORTING
        object_hd_change           = gs_obj_hd_change " Subject
        object_type                = 'RAW'
        owner                      = sy-uname
      TABLES
        objcont                    = gt_objcont " Content
        receivers                  = gt_rec_tab " Recipient
      EXCEPTIONS
        active_user_not_exist      = 1
        communication_failure      = 2
        component_not_available    = 3
        folder_not_exist           = 4
        folder_no_authorization    = 5
        forwarder_not_exist        = 6
        note_not_exist             = 7
        object_not_exist           = 8
        object_not_sent            = 9
        object_no_authorization    = 10
        object_type_not_exist      = 11
        operation_no_authorization = 12
        owner_not_exist            = 13
        parameter_error            = 14
        substitute_not_active      = 15
        substitute_not_defined     = 16
        system_failure             = 17
        too_much_receivers         = 18
        user_not_exist             = 19
        originator_not_exist       = 20
        x_error                    = 21
        OTHERS                     = 22.
    IF sy-subrc EQ  0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

    Hi Karthik,
    Here is the sample program which has explanation in each step. Have a look and change accordingly.
    <pre>
       REPORT  zvenkat_mail_simple.
    Mail related declarations
    "Variables
    DATA :
         g_sent_to_all   TYPE sonv-flag,
         g_tab_lines     TYPE i.
    "Types
    TYPES:
         t_document_data  TYPE  sodocchgi1,
         t_packing_list   TYPE  sopcklsti1,
         t_attachment     TYPE  solisti1,
         t_body_msg       TYPE  solisti1,
         t_receivers      TYPE  somlreci1.
    "Workareas
    DATA :
         w_document_data  TYPE  t_document_data,
         w_packing_list   TYPE  t_packing_list,
         w_attachment     TYPE  t_attachment,
         w_body_msg       TYPE  t_body_msg,
         w_receivers      TYPE  t_receivers.
    "Internal Tables
    DATA :
         i_document_data  TYPE STANDARD TABLE OF t_document_data,
         i_packing_list   TYPE STANDARD TABLE OF t_packing_list,
         i_attachment     TYPE STANDARD TABLE OF t_attachment,
         i_body_msg       TYPE STANDARD TABLE OF t_body_msg,
         i_receivers      TYPE STANDARD TABLE OF t_receivers.
    parameters:
       p_mail type char100.
    "start-of-selection.
    START-OF-SELECTION.
      PERFORM send_mail.
      "Form  send_mail
      " PACKING LIST table requires information about how the data in the
      " tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are to be
      " distributed to the documents and its attachments. The first row is
      " for the document, the following rows are each for one attachment.
    FORM send_mail .
      "Subject of the mail.
      w_document_data-obj_name  = 'MAIL_TO_HEAD'.
      w_document_data-obj_descr = 'Simple mail using SAP ABAP'.
      "Body of the mail
      PERFORM build_body_of_mail
        USING:space,
              'Hi,',
              'I am fine. How are you? How are you doing ? ',
              'This program has been created to send simple mail',
              'with Subject,Body with Address of the sender. ',
              'Thanks and Regards,',
              'Venkat.O,',
              'SAP HR Technical Consultant.'.
      "Write Packing List (Body)
      DESCRIBE TABLE i_body_msg LINES g_tab_lines.
      w_packing_list-head_start = 1.
      w_packing_list-head_num   = 0.
      w_packing_list-body_start = 1.
      w_packing_list-body_num   = g_tab_lines.
      w_packing_list-doc_type   = 'RAW'.
      APPEND w_packing_list TO i_packing_list.
      CLEAR  w_packing_list.
      "Fill the document data and get size of attachment
      READ TABLE i_body_msg INTO w_body_msg INDEX g_tab_lines.
      w_document_data-doc_size = ( g_tab_lines - 1 ) * 255 + STRLEN( w_body_msg ).
      "Receivers List.
      w_receivers-rec_type   = 'U'.  "Internet address
      w_receivers-receiver   = p_mail
      w_receivers-com_type   = 'INT'.
      w_receivers-notif_del  = 'X'.
      w_receivers-notif_ndel = 'X'.
      APPEND w_receivers TO i_receivers .
      CLEAR:w_receivers.
      "Function module to send mail to Recipients
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = w_document_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = g_sent_to_all
        TABLES
          packing_list               = i_packing_list
          contents_txt               = i_body_msg
          receivers                  = i_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.
      IF sy-subrc = 0 .
        MESSAGE i303(me) WITH 'Mail has been Successfully Sent.'.
      ELSE.
        WAIT UP TO 2 SECONDS.
        SUBMIT rsconn01 WITH mode = 'INT'
                     WITH output = 'X'
                     AND RETURN.
      ENDIF.
    ENDFORM.                    " send_mail
    "      Form  build_body_of_mail
    FORM build_body_of_mail  USING l_message.
      w_body_msg = l_message.
      APPEND w_body_msg TO i_body_msg.
      CLEAR  w_body_msg.
    ENDFORM.                    " build_body_of_mail
    </pre
    Thanks
    Venkat.O

  • Send email on external email address using sap workflow

    Dear All,
    I wat to send email( on external email address) to all users on under one position in org unit using sap workflow.
    I have retrived all users under given postion using FM   'RH_OM_GET_HOLDER_OF_POSITION'.
    Please let me know how to get their email ids.
    Thanks & Regards
    Rajshree

    Hi Rajasree,
    You can get the email address by passing the PERNR of employee and read the infotype '0105' (communication) with subtype '0010'.
    DATA: lt_p0105 LIKE p0105 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'HR_READ_INFOTYPE'
       EXPORTING
    *   TCLAS                 = 'A'
        pernr                 = pernr
        infty                 = '0105'
        begda                 = sy-datum
        endda                 = sy-datum
    *   BYPASS_BUFFER         = ' '
    *   LEGACY_MODE           = ' '
    * IMPORTING
    *   SUBRC                 =
       TABLES
         infty_tab             = lt_p0105
      EXCEPTIONS
        infty_not_found       = 1
        OTHERS                = 2.
    IF sy-subrc <> 0.
    * Implement suitable error handling here
    ENDIF.
    READ TABLE lt_p0105 WITH KEY subty = '0010'.
    email = lt_p0105-usrid_long.
    Regards,
    Pipit

  • Sending email from different addresses under one account.

    Hello,
    So, I'm having an issue that's a little bit complicated, and in fact, I don't even know if there is a solution.  But, if anyone knows how to do this, I'd greatly appreciatte your help.
    So, here's what I'm trying to do.
    Right now, I have three different email accounts, an icloud and two gmails.  I have both of those gmails set up so that they forward to my icloud account.  So, in the mail app on my iphone, I only have my icloud account.  I've been trying to reduce clutter by doing this, and it seems to be working pretty well, save for this issue.
    The problem I am having is still being able to respond to emails sent to one of those two gmail accounts with the same email address.  I.e.-if someone emails me at my gmail account, it's then forwarded to icloud, but I still want to respond from that gmail account using the mail app on my iphone.  I'd like to do this without setting adding the two "dead" gmail accounts onto my phone, because everything is more streamlined when I'm only using icloud.
    I've been able to do this using iMail on my mac by adding the two gmail addresses to my icloud account in settings, as well as the gmail server.  So on my mac, I only have icloud set up in imail, but I can compose emails using my two gmail addresses.  I pretty much want to be able to do the same thing on my iphone.
    Does anyone know how this can, or even if, it can be set up?
    Also, if it can't be done in the native mail app to ios, do you know of any third party apps where something like this would be possible?
    Thanks!!1

    Hi 3s1k,
    Thank you for your question.
    When he replies to my email and changes the "send From" 
    to [email protected] and send the email, It will still show that it was sent from @mainDomain.com.
    Now, I think the issue is within his Exchange mailbox, his default reply email address is @MainDomain.com.
    A:You are right. By our testing. We could just send emails with primary address, but we could receive emails with primary address and second address.
    How do I get around this. The client wants to utilize sending email from both domains since he has clients in both domains.
    A: If we want to send email with specific email address, we could manually modify the primary email address to the specific domain by Exchange administrator. And the client didn’t use customized email address to send emails.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim

  • Sending email to multiple address using Utl_Smtp

    Hi,
    I want to send email to multiple address using the Utl_Smtp feature.
    When I am sending email to one email address in the To:Field it works fine.However, when I send
    to multiple address I am getting the below error.I am using a table(Email_test) to store all email id.
    Error report:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at line 48
    29279. 00000 - "SMTP permanent error: %s"
    *Cause:    A SMTP permanent error occurred.
    *Action:   Correct the error and retry the SMTP operation.
    I am trying two options both ways I am getting error
    Option 1:
    Selecting two email id indivually in the select query as below
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    Option 2:
    Is there a way to use option
    select email into v_Recipient1 from Email_test where Key_name='U4';
    ===========================================================
    Create table Script
    ===========================================================
    create table Email_test (Email varchar2(100),Key_name varchar2(10));
    insert into Email_test values ('[email protected]','U1');
    insert into Email_test values ('[email protected]','U2');
    insert into Email_test values ('[email protected]','U3')
    insert into Email_test values ('[email protected];[email protected];[email protected]','U4');
    select * from Email_test
    [email protected]                         U1
    [email protected]                         U2
    [email protected]                         U3
    [email protected];[email protected];[email protected]     U4
    select * from Email_test where Key_name in ('U1','U2','U3')
    [email protected]     U1
    [email protected]     U2
    [email protected]     U3
    select * from Email_test where Key_name='U4'
    [email protected];[email protected];[email protected]
    =======================================================
    PL/SQL Block
    ===========================================================
    declare
    v_From VARCHAR2(80) := '[email protected]';
    v_cc VARCHAR2(80);
    v_Recipient VARCHAR2(80) ;
    v_Recipient1 VARCHAR2(80) ;
    v_Recipient2 VARCHAR2(80) ;
    v_Subject VARCHAR2(80);
    v_Mail_Host VARCHAR2(50);
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    begin
    --Mail Host name
    select VALUE into v_Mail_Host from Server_info where server_name = 'SMTPServer';
    select email into v_Recipient1 from Email_test where Key_name='U1';
    select email into v_Recipient2 from Email_test where Key_name='U2';
    v_Recipient := v_Recipient1||';'||v_Recipient2;
    --for CC
    select email into v_cc from Email_test where Key_name='U3';
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Rcpt(v_Mail_Conn, v_cc); -- To CC recepient
    utl_smtp.Rcpt(v_Mail_Conn, v_BCC); To BCC recepient
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'Cc: ' || v_cc || crlf ||
    'Content-Type: text/html;' ||crlf ||
    --'Hello this is a test email');
    crlf || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf );
    utl_smtp.Quit(v_mail_conn);
    end;
    Any suggestion how to approach this issue.
    Thank you

    Simple Mail Transfer Protocol RFC 5321 specifications.
          RCPT TO:<forward-path> [ SP <rcpt-parameters> ] <CRLF>
       The first or only argument to this command includes a forward-path
       (normally a mailbox and domain, always surrounded by "&gt;" and "&lt;"
       brackets) identifying one recipient.In other words, you can only define a SINGLE mailbox address at a time. Multiple addresses requires multiple repeats of this command verb, once per maibox.
    Do not confuse this and the To: tag line in the Mime header that contains a comma delimited list of recipients. That tag line can contain anything - it is not parsed, not checked, and not verified as matching the actual recipient mailboxes as specified via the RCPT TO verb.

  • Hi,  I have just set up my domain email address with google and Im trying to set up mail on my mac.  Its receiving mail but its not letting me send emails from that address.  I have tried quite a few solution but cant figure it out.  Can anyone help

    Hi,  I have just set up my domain email address with google and Im trying to set up mail on my mac.  Its receiving mail but its not letting me send emails from that address.  I have tried quite a few solution but cant figure it out.  Can anyone help

    Hi Lawrence1981,
    Thanks for visiting Apple Support Communities.
    You may want to check this article for additional troubleshooting steps:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Cheers,
    Jeremy

  • Problem sending email to gmail address

    My husband and I both have Blackberry Curve 8330.
    Our daughter has a Samsung Exclaim.
    We're all on the same account with Sprint.
    When I try to send an email to my daughter's gmail address, the message does not go through.  I get a red X next to the message on my display.  (I use hotmail)
    My husband can send emails to her address from his phone with no problem.
    I can send emails to any other email address, including other gmail addresses.
    Can anyone help me fix this problem?

    Hi and Welcome to the Forums!!
    I suggest the following steps:
    1) Register HRT
    Homescreen > Options > Advanced Options > Host Routing Table > (it does not matter which line is current) > Register Now
    2) Resend Service Books
    KB02830 Send the service books for the BlackBerry Internet Service
    3) Batt Pull Reboot
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should try deleting and re-adding your BIS conduits for the affected email accounts.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Why I can't send emails to some address and also i...

    Hello!
    Why I can't send  email using my ovi mail account to some email address and also i can't send email using Thunderbird? So what is the problem?
    I can't send email to any address using Mozilla Thunderbird. Every time show "Login to server mail.ovi.com failed." but Thunderbird download my ovi account email without any problem. how do i fix this error. I don't know where to post this matter!

    Yahoo has messed with their stuff lately (honestly they've been messing with their servers for months)
    One thing would be if you guys wanted to use the yahoo mail app, or there have been other users posting solutions that they say work for them
    https://discussions.apple.com/message/27906475?ac_cid=tw123456#27906475
    https://discussions.apple.com/message/27894621?ac_cid=tw123456#27894621
    These have applied to people not able to get mail but changing the settings may help you and your wife. (My yahoo is still working so I haven't needed to try any of these)
    I've noticed with my Yahoo that they've changed their login protocols. For example 'stay signed in' is always clicked and the push is for people to merge multiple accounts to access their multiple yahoo from one account/sign in instead of signing out/in to access different accounts. I'm wondering if that change is what's messing with the protocols needed for iOS mail to work. But no one really knows for sure (and neither Apple or Yahoo will comment on the issue)
    About all users can do is find work arounds that work for them.
    If these don't work or if you don't want to use the yahoo mail app, you might try using safari to go to yahoo.com and access your mail that way.

  • Reply address: is it possible to use another reply address other than the pop address used in my account. I have a special work account and would like to send emails with that address as my reply address...or sent from address

    Reply address: is it possible to use another reply address other than the pop address used in my account. I have a special work account and would like to send emails with that address as my reply address...or sent from address

    i found out how to do this finally!
    1) set up google gmail account to forward your emails to (from the [email protected])
    2) go to your gmail account
    3) go to settings (cog in right hand corner)
    4) go to 'accounts and import'
    5) go to 'send mail as'
    6) click 'Add another email address you own' - add your [email protected] address
    7) google will send a verification email with code to that email address.
    8) enter code
    9) go back to gmail account  >'send mail as' and select 'make default'
    10) close mac 'mail' program and reopen it.
    as long as you have gmail account selected as the primary account in MAIL - mail will now come throught as being sent from that  [email protected] address!!

  • Send email as another address?

    I have a gmail address that sends email as another address. Is there a way I can send from another address other than my gmail login in the Touch?

        cfm007,
    Welcome to our family. We want you to be able to enjoy all the services we provide and we definitely need to address this. Do you receive/make calls without problems? Are you able to receive messages with your contacts' number? Are you using iMessages? If so, go to Settings>Messages>Send&Receive>only your phone number should be enabled.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • SAPConnect to Send Emails to external mail address

    I am trying to send email from SAP to an external email address.
    I've configured in SCOT the mail server and it respective port.
    When I tried to send a test message, the message failed in the queue with the log:
    "Cannot process message in SAP System - No ESMTP Plug-In Is Available for SAPconnect
    Application Server Used by the Send Process:
    S21TDI05
    (Schedule Send Process on App.Server with Plug-In)
    Upon checking the sap documentation, I encounter there's also a SMTP Service in "SMICM" as well. Inside there I can see that the SMTP setting is not activate and no values has been entered.
    Are these 2 connected?
    Advices are welcome.
    Thanks,
    Regards,
    Wooi Chian.

    This error message means that your SMTP plug-in is not active. Go to TR: SMICM -> GOTO -> SERVICES
    Here you must see that the SMTP plug in is active.
    This error usally due to bind error. The port wich had to be used is used by an other service.
    Check if below mentioned parameters are set.
    rdisp/start_icman = true
    icm/server_port_0 = PROT=HTTP,PORT=1080
    icm/server_port_1 = PROT=SMTP,PORT=25$$, TIMEOUT=60, PROCTIMEOUT=300
    icm/server_port_2 = HTTPS,PORT=82$$, TIMEOUT=60, PROCTIMEOUT=300
    and restart ICM . You should see SMTP service on SMICM transaction.
    In my case problem was with the below parameters. PORT=HTTPS was assigned to server_port_1. I swapped the values of both the parameters icm/server_port_1 and icm/server_port_3. Only after that SMTP service started being visible under DISPLAY --> Services.
    icm/server_port_0                           PROT=HTTP,PORT=80$$, TIMEOUT=60, PROCTIMEOUT=300
    icm/server_port_1                           PROT=HTTPS,PORT=82$$, TIMEOUT=60, PROCTIMEOUT=300
    icm/server_port_3                           PROT=SMTP,PORT=25$$, TIMEOUT=60, PROCTIMEOUT=300
    Hope this helps solve the issue.
    /Ravi

  • Sending mail to external address

    Hi all,
    I did a configuration for set up the gateway
    1- Set up RFC in SM59. I tested this connection was working fine.
    2- Created a node in SCOT under INT (Internet). Allowed all formats for processing.
    3- I have set up conversion rules in SCOT.
    4- After above When I send an email from Workplace to an external address like [email protected] I get an error that “Cannot process message in node, parameters cannot be converted”.
    Message class XS message 821
    Now I am not sure what parameters it has not been able to convert. Has anyone encountered this problem earlier?
    Thanks in advance.
    ViKaS.

    Hai Vikas
    Check the following Document
    Here are the steps.
    SM59 Transaction is used for Connection Establishment with Destination.
    When you establish a connection to a client through a destination, the HTTP connection must first be entered in transaction SM59.
    There are two types of HTTP connection in transaction SM59: Call transaction SM59 to display the different RFC destinations.
    The HTTP connection to the external server (connection type G) and the HTTP connection to the R/3 system (connection type H) are different only in their logon procedures. Their technical settings are the same. To display the technical settings, double-click a connection.
    You can choose from three tabs. Under Technical Settings, you can specify the following:
    &#12539; Target Host: The host to which you want to connect.
    Note that if you are using HTTPS as a protocol, you have to specify the full host name (with domain).
    &#12539; Service No.: Here, you specify the port. The destination host must of course be configured in such a way that the specified port “understands” the corresponding protocol (HTTP or HTTPS). See Parameterizing the ICM and the ICM Server Cache.
    &#12539; Path Prefix: At the time when the connection to this destination is initiated, the system inserts this sub-path before ~request_uri.
    &#12539; HTTP Proxy Options: Here, you can configure a proxy for HTTP connections: You can determine the proxy host and service, as well as users and passwords for the HTTP connection.
    The tab page Logon/Security will be different depending on whether you have selected a HTTP connection to an external server (connection type G) or a HTTP connection to an R/3 system (connection type H).
    HTTP Connection to an External Server (Connection Type G)
    Choose the connection you want to use. You can choose from the following logon procedures:
    &#12539; No Logon: The server program does not request a user or password.
    &#12539; Basic Authentication: The server program requests a user and password. Basic Authentication is a standard HTTP method for authenticating users. When a user logs on to the target system, he or she provides a user ID and password as authentication. This information is then sent in a header variable as a Base 64-encoded string to the server, through the HTTP connection.
    &#12539; SSL Client Certificate: If you use client certificates for authentication, the client authentication is performed through the Secure Sockets Layer (SSL) protocol. In this case, you must also select the SSL Client PSE of the SAP Web AS that contains the relevant certificate for the authentication. The target system must handle the issuer of the SAP Web AS client certificate as a trusted system.
    Under Logon/Security, you can also activate SSL to ensure that HTTPS is the protocol used (if you select SSL, make sure that the correct port is entered under Technical Settings). In the security transaction STRUST you can determine which type of SSL client is used. (Getting Started with the Trust Manager, Trust Manager).
    The field Authorization for Destination has been implemented as an additional level of protection. We recommend that you specify a user and password for the RFC destination.
    HTTP Connection to an R/3 System (Connection Type H)
    Here, you can specify more settings for authentication in the target system.
    The settings under Technical Settings and Special Options are the same as for connection type G. Under Logon/Security, the connection type H has additional logon procedures. As with external servers, you can activate and deactivate SSL and specify an authorization.
    Because the target system is an SAP system, you can set the client and language for the logon as well as the user name and password. If you check Current User, you have to specify the password.
    The following authentication procedures are available: Basic Authentication, SAP Standard, and SAP Trusted System, and SSL Client Certificate.
    &#12539; HTTP Basic Authentication: Logon with user and password
    &#12539; SAP Standard: This procedure uses an RFC logon procedure. The RFC Single Sign-On (SSO) procedure is valid within the one system. The same SAP user (client, language, and user name) is used for logon.
    &#12539; SAP Trusted System: Trusted RFC logon to a different SAP system (see Trusted System: Maintaining Trust Relationships Between SAP Systems)).
    &#12539; SSL Client Certificate: The SSL protocol enables you to use client certificates for the logon.
    Type G/H (SM59)
    Timeout:
    When sending a HTTP request, you can use this parameter to specify the maximum response time for the connection.
    HTTP Setting:
    You can use the HTTP version to specify the protocol version of the HTTP request (HTTP 1.0 or 1.1).
    Regards
    Sreeni

  • 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

  • Send email to external user using fm 'SO_NEW_DOCUMENT_ATT_SEND_API1'

    Hi friends,
    I wrote this code to send mail to external user from sap.
    It did not work properly can anyone help me to send email to extenal user.
    The return code after executing the function module is 2.
    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.
    DATA: TAB_LINES LIKE SY-TABIX.
    Creating the document to be sent
    DOC_CHNG-OBJ_NAME = 'OFFER'.
    DOC_CHNG-OBJ_DESCR = 'abcd'.
    OBJTXT = 'aaaaaaaaaaa:'.
    APPEND OBJTXT.
    OBJTXT = 'bbbbbbbbbb'.
    APPEND OBJTXT.
    OBJTXT = 'ccccccccccccc.'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    RECLIST-RECEIVER = mail address.
    RECLIST-REC_TYPE = 'U'.
    RECLIST-COM_TYPE = 'INT'.
    RECLIST-NOTIF_DEL = 'X'.
    RECLIST-NOIF_NDEL = 'X'.
    APPEND RECLIST.
    Creating 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.
    Creating the document attachment
    (Assume the data in OBJBIN are given in BMP format)
    OBJBIN = ' \O/ '. APPEND OBJBIN.
    OBJBIN = '     '. APPEND OBJBIN.
    OBJBIN = ' / \ '. APPEND OBJBIN.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    OBJHEAD = 'picasso.bmp'. APPEND OBJHEAD.
    Creating the entry for the compressed attachment
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'BMP'.
    OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
    OBJPACK-OBJ_DESCR = 'Reproduction object 138'.
    OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK..
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA = DOC_CHNG
              PUT_IN_OUTBOX = 'X'
              COMMIT_WORK   = 'X'
         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.
    IF SY-SUBRC NE 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hi,
    Check in SCOT t-code whether it has been properly configred to send the mails
    Regards,
    siva chalasani.

Maybe you are looking for