Configure SAP WAS 640 / 620 for sending mail

Hi I have a WEB 640 system, and i need to send SMTP mails to yahoo and other internet smtp adresses via Lotus Domino server which is on the Internet.
Steps done to send mail:
1. In RZ10, Instance profile :- icm/server_port_1 with value: PROT=SMTP,PORT=8025,TIMEOUT=180
2. go to sicf and enable smtp node (sapconnect)
3. create a user "smtp_user" as service user and attach profile "s_a.scon"
4. in sicf, double click the sapconnect node and maintain the service tab for logon data details
5. under scot, maintain the domain name, and schedule a job for processing the mails
On trying to send a mail to an internet mail address the following error occurs:
Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 505 505Authentic
I understand that something needs to be done on Lotus domino server. Can anyone suggest if either anything else is required in SAP or something that needs to be done on lotus domino.
Any inputs / help is highly appreciated.
Thanks,
Chetan

Hello Chetan,
you have done the configuration for incoming emails to the SAP Server. You have to configure outgoing mail in transaction SCOT.
To test if the Domino Server accepts SMTP to send emails try "telnet <DominoServerIP> 25" and this commands:
helo Domino
mail FROM: <[email protected]>
rcpt TO: <[email protected]>
data
TEst
Regards
Gregor

Similar Messages

  • Alerts for sending mails

    Hi all;
    i am configuring alerts for sending mails . i am on XI 7.0 SP 2.i am not able to find an option like internal processing in ALRTCATDEF settings configurations.
    Can this be the reason why mails are not getting send.

    Hi Mudit,
    To send an EMAIL, assign an EMAIL ID to the corresponding user in the transaction SU01 and then set up SCOT and you can send emails when the ALERT is triggered.
    Once you have configure Alerts, you will get the Alerts into ALERT INBOX in RWB of the user. To also get the email, the following needs to be done,
    1. In SU01 -- Assign the Email ID for the Recipient of the ALERT.
    2. In , RWB>ALERT INBOX> PERSONALIZATION--> Time Independent Delivery and Email are selected.
    3. Finally, SCOT needs to be set up to send Emails. Check this for the same. You can ask your BASIS team to do this step.
    http://help.sap.com/saphelp_nw04/helpdata/en/23/1edf098ea211d2b47300609419ed29/frameset.htm
    Also, In ALRTCATDEF, go to SETTINGS--> CONFIGURATION. By default, the option selected is INTERNAL PROCESSING. Select the option SMTP FORWARDING AS XML and give the email id. This will enable you to send an email alert whenever an error occurs in XI.
    Also, to test your Alerts, execute the report RSALERTTEST in SE38.
    Also go throuh the following links...
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • How to create distribution list in workflow? for  sending mail or work-item

    Hi,
    How to create distribution list in workflow? for  sending mail or work-item to multiple users.
    Regards,
    Surjith

    Hi Surjith,
    A.Working with Distribution Lists Creating a Distribution List.
    1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
    2.Then click on the distribution list in Businees Workplace.
    say create Name = WF_Vliste
    folder Name = WF_distributor
    3.distribution list content tab
    Enter Recipient (SAP User ID)
    B.Wrkflow Builder
    Find out the dialig step in which u want to use distribution list
    Use workflow Rule 30000012 (SWX_READ_DLI).
    Maintain the binding from workflow container to rule container.
    Just pass the name of the distribution list from WF to Rule container.
    Regards
    Sagar S

  • CLASS cl_bcs Query for sender mail id

    Hi,
    I am using class cl_bcs.but, i am facing problem for sender mail-id. I want to append mail-id directly to sernder mail-id without using user mail attribute.
    Is there ne way from which i can append mail-id as sender mail id??
    thanx in advance,
    Sameer

    you can do that.
    check this code sample.
    DATA: sender             TYPE REF TO if_sender_bcs.
    CLEAR sender .
            sender = cl_cam_address_bcs=>create_internet_address( '[email protected]' ).
            CALL METHOD send_request->set_sender
              EXPORTING
                i_sender = sender.
    and check this code sample for complete code.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5931ff64-0a01-0010-2bb7-ff2f9a6165a0
    Regards
    Raja

  • Maximum retries for sending mail ( java mail api )

    Hi,
    How can I set the property "maximum retries for sending mail" for my smtp through java mail api ?
    Is there any property that I need to set in the Javamail session or any other way out ?
    Thanks.

    That's a server property. You would set that in your server configuration. JavaMail is for sending and receiving mail, not for controlling mail servers.

  • TS3276 I just upgraded to 10.8.2 and Mail is having a problem. It won't remember my password for getting mail; but it does remember the password for sending mail, i.e., smtp. Does anyone know of a fix?

    I just upgraded to 10.8.2 and Mail is having a problem. It won't remember my password for getting mail; but it does remember the password for sending mail, i.e., smtp. Does anyone know of a fix?

    The solution surprised even me, and we've been using Macs since 1984 (still have an original 128K).
    I contacted Apple support, and because we had just upgraded yesterday, clicked on the "exception" button as opposed to paying the $19.99 one-time support fee. An Apple tech called and the problem was solved in two minutes.
    Somehow during the installation of OS 10.8.2 (over 10.6.x) the key chain data for my email ISP login password got corrupted. The solution was to delete both the POP mail and SMTP entries in my keychain.
    Back to Mail, it asked for the POP password, I entered it and bingo, mail got busy downloading. Interestingly, the password was also entered into the SMTP panel.
    So, that's it. Thanks for you response, Mr. Hoffman, and regards.

  • Problem assigning an account for sending mail from external mail app

    Good morning , i have an IPhone 4s 16gb with IOS 7.0.6 and even in setting-mail and calendar i have setup the default account to use for sending mail outside mail app it use ICloud mail account.
    if i select Icloud account and then my gmail account sometimes works but after some days it start again to use the other account...i don't know if it is when i power off the IPhone...if i look into settings-mail and calendar account selected is gmail even the account used is the ICloud.
    i think is a IOS bug.
    please let me know.
    Best regards

    Jun T. wrote:
    But there is a (high) possibility that Gmail's server requires authentication (or certification) to connect to it.
    I wonder if they're simply silently dropping emails in certain cases. I forgot earlier that I have a Gmail account. If I send an email from the command line on my home computer, which is on Comcast, the mail log shows that I successfully connect to Gmail, the message is sent and accepted by Gmail, but the email never arrives in my inbox. I've tried several times with the same result.
    However, emails from a web server from work get through to Gmail without a problem. So I'd bet it's a case of them not delivering mail from Comcast IP addresses.
    For grins, I also tried sending to my Yahoo email account from my home computer and their server at least refuses the connection and I get an error message stating that it's because it's a residential IP address.
    In this case you need an SMTP client (=a software which directly sends the mail to the Gmail server) which supports authentication.
    I think this might also be possible with Postfix by editing the configuration files. I know I had to set up authentication to send emails to my work address directly from my home computers, but I haven't been able to get the same thing to work with Gmail yet. If I get a chance, I'll look into it again later tonight.
    charlie

  • Setting Host for sending mails

    Hi Xperts
    For sending mails to external mail id my internal support team had advised to do the following changes:
    "<i>Please configure your host(s) to send to smlolw.lol.com, use default port#90.</i>"
    i'm not dure on what he meant by this and where to carry these changes. Can i be guided to have this set properly.
    thkx
    Prabhu

    Hi,
    1. Goto transaction SCOT.
    2.  Double click the SMTP.
    Thanks,
    Reward If Helpful.

  • Sound for Sending Mail

    I've checked all through the forum and can't find an answer, so I hope this is not a repeat...
    Is there a way to have a different sound (that I choose) play for sending mail versus receiving mail? I can change the incoming sound in preferences and I've checked the box to have sound play for other events...but it always plays the same sound for every event.
    Help!!
    MacBook Pro   Mac OS X (10.4.10)  

    I did further reseach and found if you substitute an AIFF file for the "Mail Sent.aiff" file in Mail's package\contents\resources - you can assign any sound. You have to rename the new file exactly the same as the existing. I backed up the original first for safety.
    Why isn't there a preference for this??

  • In my ipad email address which I am using for sending mail is appearing differently in the receipents mail box ! how to resolve that

    in my ipad email address which I am using for sending mail is appearing differently in the receipents mail box ! how to resolve that

    while sending a email in my ipad it is showing the correct email address([email protected]) in the ""from"" field but in receipients inbox ""from"" field it is showing another email id ([email protected])

  • TS1307 I am holidaying in Auckland using my daughters orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says orcon offline. I have spent half an hour with Orcon putting in correct

    I am holidaying in Auckland using my daughter's Orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says mail.orcon.net.nz(Offline). I have spent half an hour with Orcon putting in correct info. They do not know how to help me further and neither does telstra clear, my own internet provider.
    Any advice appreciated.

    On the Mail menubar > Mailbox, make sure Take all accounts online is selected.

  • How ca i create a stationery for sending mail with my letter head and logo etc.

    I want to use a stationery with my letter head and logo for sending mails. Please tell me how can I create my page.

    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Using_Templates

  • Configuring SMTPPlugin for sending mail to Internet

    Hi I have a WEB 640 system, and i need to send SMTP mails to yahoo and other internet smtp adresses via Lotus Domino server which is on the Internet.
    Steps done to send mail:
    1. In RZ10, Instance profile :- icm/server_port_1 with value: PROT=SMTP,PORT=8025,TIMEOUT=180
    2. go to sicf and enable smtp node (sapconnect)
    3. create a user "smtp_user" as service user and attach profile "s_a.scon"
    4. in sicf, double click the sapconnect node and maintain the service tab for logon data details
    5. under scot, maintain the domain name, and schedule a job for processing the mails
    On trying to send a mail to an internet mail address the following error occurs:
    Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 505 505Authentic
    I understand that something needs to be done on Lotus domino server. Can anyone suggest if either anything else is required in SAP or something that needs to be done on lotus domino.
    Any inputs / help is highly appreciated.
    Thanks,
    Chetan

    Hello Chetan,
    you have done the configuration for incoming emails to the SAP Server. You have to configure outgoing mail in transaction SCOT.
    To test if the Domino Server accepts SMTP to send emails try "telnet <DominoServerIP> 25" and this commands:
    helo Domino
    mail FROM: <[email protected]>
    rcpt TO: <[email protected]>
    data
    TEst
    Regards
    Gregor

  • How can I create a schedule in Java for sending mail from SAP?

    Hello;
    I am coding a programme in Java which reads data from KM. I wish to schedule a job which sends mail to a list of persons selected from KM. I read the article by Prakash Singh and based my programme on his explanations.
    /people/prakash.singh4/blog/2005/04/20/did-you-know-you-can-schedule-jobs-in-portal-using-kms-scheduler-task
    My first problem is that I don't know how to send mail in SAP, and how to use Java to send this mail. My second problem is how to develop this "schedule job" function - is it enough to use Prakash Singh's method, or does it need to be changed?
    Can anyone help me with these questions?
    Thank you very much, R.E.

    Hi,
    I dont know about the CATS system. But when ur user selects the varaint, he should remove his own id and execute the query. This should display all the variants existing for that program. Then he can select the required variant.
    The user can also save this varaint under his own ID
    Hope it helps.
    Regards.
    Jay Gandhi

  • Function for Sending Mail Thru SAP

    Please let me know if there is any function available in SAP thru wich I can send Emails to other mail box . Please give me some example code if any available.

    Kindly refer the below code  to send a fiel as an attachment via MAil from SAP -
    *& Report  ZGILL_SENDMAIL_PDF                                          *
    REPORT  ZGILL_SENDMAIL_PDF                      .
    INCLUDE ZGILL_INCMAIL.  "SEE BELOW FOR INCLUDE PROGRAM CODE.
    DATA
    DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA : file_name TYPE string.
    data : path like PCFILE-PATH.
    data : extension(5) type c.
    data : name(100) type c.
    SELECTION SCREEN
    PARAMETERS : receiver TYPE somlreci1-receiver lower case DEFAULT '[email protected]'.
    PARAMETERS : p_file LIKE rlgrap-filename
    OBLIGATORY DEFAULT 'C:\TEMP\SALARY_SLIP1.PDF'.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CLEAR p_file.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = p_file.
    START-OF-SELECTION
    START-OF-SELECTION.
    PERFORM ml_customize USING 'Tst' 'Testing'.
    PERFORM ml_addrecp USING receiver 'U'.
    PERFORM upl.
    PERFORM doconv TABLES itab objbin.
    PERFORM ml_prepare USING 'X' extension name.
    PERFORM ml_dosend.
    SUBMIT rsconn01
    WITH mode EQ 'INT'
    AND RETURN.
    FORM
    FORM upl.
    file_name = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = file_name
    filetype = 'BIN'
    TABLES
    data_tab = itab
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    path = file_name.
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
    EXPORTING
    complete_filename = path
    CHECK_DOS_FORMAT =
    IMPORTING
    DRIVE =
    EXTENSION = extension
    NAME = name
    NAME_WITH_EXT =
    PATH =
    EXCEPTIONS
    INVALID_DRIVE = 1
    INVALID_EXTENSION = 2
    INVALID_NAME = 3
    INVALID_PATH = 4
    OTHERS = 5
    ENDFORM. "upl
    *********************iNCLUDE pROGRAM********************************************
    *&  Include           ZGILL_INCMAIL                                    *
    Data
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    FORM
    FORM ml_customize USING objname objdesc.
    Clear Variables
    CLEAR docdata.
    REFRESH objpack.
    CLEAR objpack.
    REFRESH objhead.
    REFRESH objtxt.
    CLEAR objtxt.
    REFRESH objbin.
    CLEAR objbin.
    REFRESH objhex.
    CLEAR objhex.
    REFRESH reclist.
    CLEAR reclist.
    REFRESH listobject.
    CLEAR listobject.
    CLEAR tab_lines.
    CLEAR doc_size.
    CLEAR att_type.
    Set Variables
    docdata-obj_name = objname.
    docdata-obj_descr = objdesc.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addrecp USING preceiver prec_type.
    CLEAR reclist.
    reclist-receiver = preceiver.
    reclist-rec_type = prec_type.
    APPEND reclist.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addtxt USING ptxt.
    CLEAR objtxt.
    objtxt = ptxt.
    APPEND objtxt.
    ENDFORM. "ml_customize
    FORM
    FORM ml_prepare USING bypassmemory whatatt_type whatname.
    IF bypassmemory = ''.
    Fetch List From Memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listobject
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'LIST_FROM_MEMORY'.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    COMPRESSED_SIZE =
    TABLES
    in = listobject
    out = objbin
    EXCEPTIONS
    OTHERS = 1
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'TABLE_COMPRESS'.
    ENDIF.
    ENDIF.
    Header Data
    Already Done Thru FM
    Main Text
    Already Done Thru FM
    Packing Info For Text Data
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'TXT'.
    APPEND objpack.
    Packing Info Attachment
    att_type = whatatt_type..
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = att_type.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = whatname.
    APPEND objpack.
    Receiver List
    Already done thru fm
    ENDFORM. "ml_prepare
    FORM
    FORM ml_dosend.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    CONTENTS_HEX = objhex
    OBJECT_PARA =
    object_parb =
    receivers = reclist
    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 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.
    ENDFORM. "ml_customize
    FORM
    FORM ml_spooltopdf USING whatspoolid.
    DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
    Call Function
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    src_spoolid = whatspoolid
    TABLES
    pdf = pdf
    EXCEPTIONS
    err_no_otf_spooljob = 1
    OTHERS = 12.
    Convert
    PERFORM doconv TABLES pdf objbin.
    ENDFORM. "ml_spooltopdf
    FORM
    FORM doconv TABLES
    mypdf STRUCTURE tline
    outbin STRUCTURE solisti1.
    Data
    DATA : pos TYPE i.
    DATA : len TYPE i.
    Loop And Put Data
    LOOP AT mypdf.
    pos = 255 - len.
    IF pos > 134. "length of pdf_table
    pos = 134.
    ENDIF.
    outbin+len = mypdf(pos).
    len = len + pos.
    IF len = 255. "length of out (contents_bin)
    APPEND outbin.
    CLEAR: outbin, len.
    IF pos < 134.
    outbin = mypdf+pos.
    len = 134 - pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF len > 0.
    APPEND outbin.
    ENDIF.
    ENDFORM. "doconv
    **********************INCLUDE END********************************

Maybe you are looking for