08-23-2005 12:34 AM
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
08-23-2005 2: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.
01-10-2007 2: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
01-10-2007 3: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.