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:
・ 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).
・ 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.
・ Path Prefix: At the time when the connection to this destination is initiated, the system inserts this sub-path before ~request_uri.
・ 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:
・ No Logon: The server program does not request a user or password.
・ 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.
・ 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.
・ HTTP Basic Authentication: Logon with user and password
・ 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.
・ SAP Trusted System: Trusted RFC logon to a different SAP system (see Trusted System: Maintaining Trust Relationships Between SAP Systems)).
・ 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

Similar Messages

  • Send mail to external address using send mail step.

    Hi all,
    I have one question.
    In a send mail step of workflow, when the recipient type is a Organizational Object and Org Unit, the mail is only sent to workplace? I would need to send the mail to external address from all users of Org Unit. Is possible it?
    Thanks
    Regards,
    David.

    Hi,
    1) In the Recipient type select the E-Mail address from the drop down
    2) And give the email id (in the text box)
    3) Then save & test it.
    4) Once it execute goto t.code SOST and see the email entry.
    5) If entry not found, the SCOT settings is not done then check with Basis Team
    6) If found, select it and execute.
    7) And check you email
    Regards,
    Surjith

  • 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

  • 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

  • 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

  • Failed to send mail to external domain via portal

    Hi Gurus,
    By following the configuraion instructions in <b>SAP library - Collaboration - Groupware - Installing and Configuring E-Mail Connectivity</b>, I managed to send mail to recipients who reside in same domain e.g. <b>[email protected]</b> via portal.
    However, I failed to send mail to external domain e.g. <b>[email protected]</b>. I got the following error message:
    The mail could not be sent to the specified recipients com.sap.ip.collaboration.gw.impl.transport.javamail.exception.MailSendException: The mail could not be sent to the specified recipients
         at com.sap.ip.collaboration.gw.impl.transport.javamail.JavaMailTransport.sendMail(JavaMailTransport.java:183)
    --------- exception is chained. Original exception ------------
    javax.mail.SendFailedException: Invalid Addresses;
      nested exception is:
         javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
         at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:804)
         at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
    Please help.
    Thanks alot.

    Hi Ajey,
    Thanks for your reply. I had tried your suggestion but same problem occurred with same error output.
    Actually, I encounterred this error message before in my <b>Microsoft Outlook</b>, where System Admin returned me a mail saying that, my mail was undeliverable with the same error message. But this can be solved by applying the <b>Internet Email Account Setting - Outgoing Server - My outgoing server (SMTP) require authentication</b>.
    So I am wondering,
    1) This problem is caused by SMTP server?
    2) Is there any workaround (like the Outlook Setting) I can configure in Portal?
    Do you have any idea?
    Thanks,
    HauChee

  • Workflow send mail to email addresses

    Hi,
    I have created a workflow wherein i have insrted a user decision node and 2 output is there one is accept and another one reject.
    I have added send mail node on both accept and reject and the thing is that in recipient address is put as email address. The email address that i put is for accept is workflow inititor and for reject is my own gmail address.
    Now when i execute workflow and click on accept button and check workflow log i get details for step where i found that background work item is created and agent name. Why is it so and where i can get the result ? and when i click on agent in that there is pushbutton for communication where there is no email address is maintained how can i maintain it ?
    Please help me out..even for reject tab i have given  my own gmail address. What will happen if i click on reject tab?
    Thanks
    Parag

    Hi,
    In your case what will happen is:--
    1> when you recieve the workitem in the sap inbox and you click on it.....it will show decision buttoons.
    2> As you have put send mail task in both accept & rejevt branch ...it should trigger mail based on your
         action and send it to extenal mail id.
    3> Now if you click on accept button ....... and the mail task which you have inserted will trigger mail to
         id which you have maintained.
    4> When you click on the reject button............ it will send mail to id which you have maintained in
         task.    
    5> If u you have set mail id to sap id of user then you can see it in Tcode SBWP.If you are sending mail
        to external mail id( outlook, gmail etc)........it will be visible in your external mail inbox if SCOT
         configuration are properly set in your system for SMTP node.You can still see the external mail in
         sap system in Tcode SOSG.

  • Sending mail to external system in sap 4.6c

    Hi WF experts,
    We are configuring sending mails to external system in sap4.6c.
    sxdump20.exe is kept on the frontend and created RFC destination with path to sxdump20.exe.
    same RFC destination is given while configuring in SCOT trxn.
    From SAP, mails are successfully sent and getting message in SOST as delivered to recipent.
    But recipent is not receiving mails in his inbox ( outlook express,gmail,hotmail etc ).
    Any solution from you will be of great help.
    simha

    Hi,
    Make sure that the mail sent from SAP 4.6C are not declared as "Bad Mails" at your Mail Server/SMTP Gateways, possibly due to some technical reason. (such as sender address is not correct, any other SMTP errors,  etc...etc.).
    Ask your network/system admin to verify it.
    Regards,
    Bhavik G. Shroff

  • Error while sending mail to external id

    Hai all,
    I am trying to send mail to external mail id using the FM SO_NEW_DOCUMENT_ATT_SEND_API1. After executing when i check in sost i m getting an error 'Cannot process message, no route from sapuserto external mail id.
    Can anyone help me resolve this issue pls.
    Thanks in advance,
    Neela

    Hi,
    You have to fill the tables parameter 'PACKING_LIST'.
    try with these values
    wa_objpack-TRANSF_BIN = space.
    wa_objpack-HEAD_START = 1.
    wa_objpack-HEAD_NUM   = 0.
    wa_objpack-BODY_START = 1.
    wa_objpack-DOC_TYPE   = 'RAW'.
    APPEND wa_objpack to it_objpack.
    Regards,
    Daz.

  • Sending mail to external mailid from user exit EXIT_SAPLEBNF_005

    Hai ALL,
    iam facing problem with sending mail to external id from user exit exit_saplebnf_005 , this user exit for ROLE Determination of releasing of PO .
    in this user exit i passed a user name for this role from one z table.
    through workflow the mails are send to workplace of resposible person maintained in ztable.
    now user requirement is they want some intimation in their outlook for they got mail in workplace .
    can anybody help me.
    Thanks .
    sushmita.k

    they can either define automatic forwarding in their SAP office to external e-mail OR they can set their external e-mail as preferred method of communication and they should receive mail to their external mailbox assuming that sending to external mail is supported in your system (check with BASIS folks).

  • Not send mail for external domains

    Hi,
    I have installed OCS 10g(10.1.2) in linux. All components ok, but i not send mail for external domain.
    Att,
    Mesti

    I remember in version 9.0.2 that i configure in SMTP_OUTBOUND the IP of DNS external to send mail for other domains.
    Mesti

  • When I try to send mail to multiple addresses, it tells me it cant send with selected server.  It sends mail to one address fine.

    When I try to send mail to multiple addresses, it tells me it cant send with selected server.  It sends mail to one address fine.

    contact your email service provider and ask them (it might treat multiple e-mails as SPAM)

  • Send mail to external mail address

    Hello Guys,,
    I have required to send a mail through abap code. This program is need to schedule.
    Can some one send  me some sample code to send mail..
    I have search with existing forum , but have'nt got any proper answer.
    Thanks
    Swati....

    Hi i am sending 2 programs
    <b>First program......</b>
    REPORT  YH647_PRJ_TEST1 line-count 1000.
    data:
      fs_abaplist like abaplist.
    *DATA W_RULE(2) TYPE X VALUE '2009'.
    data:
    t_list like standard table
              of abaplist.
    DATA:
      T_DATA(1000) OCCURS 0,
      fs_data(1000).
    DATA:
       doc_chng like sodocchgi1,
       objpack like sopcklsti1 occurs 0 with header line,
       objhead like solisti1 occurs 0 with header line,
       objbin like solisti1 occurs 0 with header line,
       objtxt like solisti1 occurs 0 with header line,
       reclist like somlreci1 occurs 0 with header line,
       eml_tab like w3html occurs 0 with header line,
       eml_lines like sy-tabix,
       l_t_lines like tline occurs 0 with header line,
       tab_lines like sy-tabix.
    submit YH647_PRJ_TEST2 and return.
      import t_list from memory id 'MAN'.
    loop at t_list into fs_abaplist.
        condense fs_abaplist.
       TRANSLATE fs_abaplist using w_rule.
        write : / fs_abaplist.
      endloop.
    T_DATA[] = T_LIST[].
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
       BIN_FILESIZE                    =
         FILENAME                        = 'D:\test\PRJ1.XLS'
         FILETYPE                        = 'ASC'
       APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ''
       HEADER                          = '00'
       TRUNC_TRAILING_BLANKS           = ' '
       WRITE_LF                        = 'X'
       COL_SELECT                      = ' '
       COL_SELECT_MASK                 = ' '
       DAT_MODE                        = ' '
       CONFIRM_OVERWRITE               = ' '
       NO_AUTH_CHECK                   = ' '
       CODEPAGE                        = ' '
       IGNORE_CERR                     = ABAP_TRUE
       REPLACEMENT                     = '#'
       WRITE_BOM                       = ' '
       TRUNC_TRAILING_BLANKS_EOL       = 'X'
       WK1_N_FORMAT                    = ' '
       WK1_N_SIZE                      = ' '
       WK1_T_FORMAT                    = ' '
       WK1_T_SIZE                      = ' '
    IMPORTING
       FILELENGTH                      =
       TABLES
         DATA_TAB                        = T_DATA
       FIELDNAMES                      =
      EXCEPTIONS
        FILE_WRITE_ERROR                = 1
        NO_BATCH                        = 2
        GUI_REFUSE_FILETRANSFER         = 3
        INVALID_TYPE                    = 4
        NO_AUTHORITY                    = 5
        UNKNOWN_ERROR                   = 6
        HEADER_NOT_ALLOWED              = 7
        SEPARATOR_NOT_ALLOWED           = 8
        FILESIZE_NOT_ALLOWED            = 9
        HEADER_TOO_LONG                 = 10
        DP_ERROR_CREATE                 = 11
        DP_ERROR_SEND                   = 12
        DP_ERROR_WRITE                  = 13
        UNKNOWN_DP_ERROR                = 14
        ACCESS_DENIED                   = 15
        DP_OUT_OF_MEMORY                = 16
        DISK_FULL                       = 17
        DP_TIMEOUT                      = 18
        FILE_NOT_FOUND                  = 19
        DATAPROVIDER_EXCEPTION          = 20
        CONTROL_FLUSH_ERROR             = 21
        OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    OBJBIN[] =  T_DATA.
      DOC_CHNG-OBJ_NAME = 'OFFER'.
      DOC_CHNG-OBJ_DESCR = 'Test Program List Output'.
      APPEND OBJTXT.
      OBJTXT = 'is enclosed as an attachment.'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    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)
       DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJHEAD = 'OUTPUT.XLS'. 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   = 'RAW'.
       OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
       OBJPACK-OBJ_DESCR = 'Test program output'.
       OBJPACK-DOC_SIZE   = TAB_LINES * 255.
       APPEND OBJPACK..
    ***Recepients List
       reclist-receiver = 'SAPDEV17'.
       reclist-rec_type = 'B'.
       APPEND reclist.
        reclist-receiver = '[email protected]'.
        reclist-rec_type = 'U'.
        APPEND reclist.
    Sending the document
      call function 'SO_DOCUMENT_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.
      case sy-subrc.
        when 0.
          write: / 'Result of the send process:'.
          loop at reclist.
            write: / reclist-receiver(48), ':'.
            if reclist-retrn_code = 0.
              write 'sent successfully'.
            else.
              write 'not sent'.
            endif.
          endloop.
        when 1.
          write: /
          'no authorization to send to the specified number of recipients!'
          raise too_many_recievers.
        when 2.
          write: / 'document could not be sent to any of the recipients!'.
          raise document_not_sent.
        when 4.
          write: / 'no authorization to send !'.
          raise operation_no_authorization.
        when others.
          write: / 'error occurred during sending !'.
          raise others.
      endcase.
    <b>Second program......</b>
    REPORT  YH647_PRJ_TEST2.
    TABLES:
      SFLIGHT.
    data:
    t_list like standard table
              of abaplist.
    *DATA:
    T_DATA(1000) OCCURS 0,
    fs_data(1000).
      DATA: BEGIN OF FS_DATA  OCCURS 0,
              MANDT TYPE SFLIGHT-MANDT,
              CARRID TYPE SFLIGHT-CARRID,
              CONNID TYPE SFLIGHT-CONNID,
              FLDATE TYPE SFLIGHT-FLDATE,
              PRICE(15)  TYPE C,
              CURRENCY TYPE SFLIGHT-CURRENCY,
              PLANETYPE TYPE SFLIGHT-PLANETYPE,
              SEATSMAX(10) TYPE C,
              SEATSOCC(10) TYPE C,
              PAYMENTSUM(17) TYPE C,
              SEATSMAX_B(10) TYPE C,
              SEATSOCC_B(10) TYPE C,
              SEATSMAX_F(10) TYPE C,
              SEATSOCC_F(10) TYPE C,
            END OF FS_DATA.
    DATA:
      T_DATA LIKE TABLE OF FS_DATA.
    data:
      T_SFLIGHT like table of sFLIGHT.
    select * into
           SFLIGHT
      up to 200 rows
       from sflight.
    MOVE-CORRESPONDING SFLIGHT TO FS_DATA.
    APPEND FS_DATA TO T_DATA.
    ENDSELECT.
    t_list[] = t_DATA[].
    *move t_data to t_list.
    export t_list to memory id 'MAN'.
    execute the first program......
    Reward points if useful......
    Suresh......

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

Maybe you are looking for

  • Help!!! Palm Desktop Error

    I just upgraded to Windows 7 and re-installed the Palm Desktop v3 from the CD. But it fails to open the Date Book database displaying an error message to that effect and the app doesn't launch. Do I have to run a HotSync operation first? The file had

  • How to maintain the status of the Thread ?

    How to maintain the status of the Thread ? namanc

  • What Are the Security Implications of not Completely Signing Database?

    Hello everyone, What are the security implications of not completely signing the database? From http://www.archlinux.org/pacman/ , The following quote implies that the database exists merely just in case hand tweaking is necessary: maintains a text-b

  • Same report on two instances but PDF output in different fonts

    I would appreciate that Report developer with no Apps experience also read this problem. We have 2 running APPS11i environments. One production, up and running at the customer. One development , up and running at our site, develop department. We deve

  • Hide Flex field column by personalization

    Hi, In Personal Information page I want to hide the coulmn Work Fax (Phone Numbers) which is coming from a flex field. (N) - iRecruitment External Site Visitor click on the link : Manage My Account Personal Information tab.