Skip to Content
avatar image
Former Member

settings needed for sending emails

Hi

For sending external mail (say yahoo) , when i trigger the mail from business workplace, it is displayed as a send request in sost transaction. But it gives an error.

<i>Message cannot be transferred to node SMTP due to connection error (final)

Message no. XS816

Diagnosis

Due to a technical fault, the system could not set up a connection to the RFC destination Check port and mail server for SMTP nodes. Therefore, the message could not be transferred to node SMTP.</i>

Does it mean its partially configured or not at all configured. So, NOw what more settings should I make.

in scott, smtp node definiton, what should i give for mail host and mail port (for yahoo, should it be www.pop3.mail.yahoo.com or something else)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 13, 2007 at 07:01 AM

    HI

    onfiguring SAP 4.6x Internet mail Gateway

    SAP can be configured to send and receive emails from different sources.This section explains how to integrate SAPOffice with an external emailsystem. Your Internet email must be configured and running prior to this.Email from SAP is forwarded to the users external email system..

    You can configure inbound and outbound forwarding. Outbound flow forwardsa SAP message (eg: update termination) via UNIX sendmail to the intended recepient. Inbound accepts a message from sendmail and places it in the users SAPOffice inbox. Many companies prefer to configure outbound only.

    Configuring outbound forwarding

    SAP configuration

    1. Create your RFC destination for outbound email using transaction SM59

    RFC Destination : SAP_INTERNET_GATEWAY

    Connection Type : T

    Description : SAP internet mail gateway

    Click on 'Explicit Host' if you wanton demand gateway dameon invocation.

    Program : /sapmnt/SID/exe/mlunxsnd

    Target Host : Enter hostname that runs your central instance.

    Click 'Test Connection' and you should seea successfull message.

    2. Shared Office Settings transaction SO16-> Send -> Settings or

    directly via transaction SCOT- SAPconnect Administation

    Nodes - Create

    Node : IMAIL

    Description : SAP internet mail gateway

    RFC Destination : SAP_INTERNET_GATEWAY

    Tick : Internet

    Address Area : *

    Tick : All formats

    Dev. type : Choose an approciate Printer Device

    Set further addresstype : N

    Maximum waiting timefor repeat send attempt procedure : Blank or decide for yourself

    Tick : Node is ready for use

    Setting

    - DefaultDomain : <your company domain>.com

    - Conversionrule : require if your communication device only support one format.

    e.g. if you email system only support the format RAW (ASCII text format)

    Format To Format Ranking Function module

    ALI RAW 1 SX_OBJECT_CONVERT_ALI_RAW (convert APAP List)

    Referto note 171698 - SAPconnect: Formats, conversion, device type

    UNIX configuration

    1 .. cd /sapmnt/SID/exe

    2 ..csh

    ..mlsomadm mailgw.ini

    System Name [C11] :

    Client [000] :

    Username : MAILADM

    Password : MAILADM

    Language : E

    Load Balancing :

    Hostname : <hostname>

    System number : <instance_number>

    Gateway hostname: <central_instance_hostname>

    Gateway Service : <instance number>

    Use SAP Router :

    Trace level :

    Sendmail Command [/usr/lib/sendmail -i -f<SENDER_ADDRESS>]:

    Codepage [ISO-8859-1] :

    Trace Level (Outbound) [0] :

    Update file sapmailsid.cfg? [Y]

    Testing whether your configuration is successful

    1. Logon to SAP

    2. Execute transaction SO01

    3. Write a message and send it to <your_internet_email_address>

    4. If you don't see the mail in your internet mailbox, go back and review steps 1-12

    Schedule the SAP Internet Mail Gateway Jobs to start every 5 minutes

    1. Create

    2. Position your cursor at INT

    3. Click Schedule and supply the date and time

    4. Click Schedule periodically and tick Minutes and type in 5

    5. Click Create and you are done

    6. Click Show Scheduling to check

    Problems that you might encounter :-

    If you have set up a node in SCOT and it tests out well but recieve the reply.

    "Cannot process message in node, parameterscannot be converted".

    Make sure the RFC connection is working, and that SapConnect has been installed on the Unix Server or the Microsoft Exchange Server. Originally, I had the same error, and found that nothing had been installed on Unixor Exchange, to support SapConnect.

    In SCOT (View -> System Status), your mail remains at the Intransit column.

    Check you sendmail.cf files (e.g.Sun Solaris /etc/mail/sendmail.cf). Try using the sendmail command to send a test file at the Unix level. You must be able to send mail at theUnix level before you can send mail at the SAP level.

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/700b405bacdd5fe10000000a155106/content.htm

    http://www.tamboly.com/SAPEmailConfiguration.html

    Reward all helfpfull answers

    Regards

    Pavan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 13, 2007 at 06:57 AM

    Hi Aarthi,

    There are a number of settings to be made in order for the mail to be properly sent.

    Please refer to the below link as it contains all the possible steps for the configuration.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/55/a8b538891b11d2a25a00a0c943858e/frameset.htm

    If in case, you still have any doubts,please let me know.

    I hope I have tried to answer your query to the best of my knowledge.

    If in case you still have any further clarifications,please let me know.

    Regards,

    Puneet Jhari.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi puneet,

      Thanks for ur prompt response.

      I have told the status of mails in my system. (Send requests are created in sost) . But it cant be sent due to some error. I have given the error message too.

      Does it mean that, the configuration needed for sending mails is incomplete or its not done at all.

  • avatar image
    Former Member
    Sep 13, 2007 at 07:35 AM

    in Scot transaction

    Keep cursor on SMTP then create note >> Enter note e.g. MAIL >> Choose RFC node >> specify the RFC destination you have create through SM59 >> Choose internet >> Address are : for any domain keep it as * or for specific domain as in your case keep as *.yahoo.com

    You could specify more address areas too.

    Regards,

    Amit R.

    Add comment
    10|10000 characters needed characters exceeded