Skip to Content

Email not sent - Urgent

Hi,

I am using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send an external E-mail. Its working well in Development client. But not in other client. But they are in Same server(Box).

Could anybody suggest me what could be the problem? Is it problem with the Basis Settings? if so any hint where i can compare the settings?

When i execute the FM its throws an Exception-2(DOCUMENT_NOT_SENT)

I promise to return and reward the answers.

Thanks,

Raja T

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2005 at 01:32 AM

    Raja,

    Go to transaction SCOT. Under the "INT" node you should have a "SMTP" node. Click on this and hit the "Execute" button.

    This will tell SAP to send the emails. To set this up as a job, click on the "Job" button next to the execute.

    Hope this helps.

    Cheers,

    Pat.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 02:34 PM

    Hello,

    U need to submit the report

    • Start the send process

    SUBMIT rsconn01

    WITH mode = 'INT'

    WITH output = ' '

    AND RETURN.

    If useful reward.

    Vasanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 03:04 PM

    Hi,

    After u send a mail u can issue a wait.

    perform send_mail. " send mail

    wait up to 2 seconds.

    submit rsconn01 with mode = 'INT'

    with output = ''

    and return.

    *-- u can populate the error while sending the mail as follows-

    • Value in retrn_code '0' means mail sent successfully

    loop at t_receivers.

    check t_receivers-retrn_code na '0'.

    clear l_string.

    read table t_receivercopy index sy-tabix.

    l_string+0(16) = 'Email Error for '.

    l_string+18(40) = t_receivercopy-receiver.

    append l_string to it_error.

    endloop.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.