on 12-14-2016 11:01 AM
Hello,
i wrote a programm which sends a mail of a sales order (va02) over message control. The E-Mail is sent normally but if the E-Mail adresse is not correct the exception is not raised, although it is in tray catch block. I got a notice in SAP Office that the mail couldnt be sent due to false adresse of recipient. But why the exception isn't raised?
The check of address existence is not executed during your program execution, but after execution of the SCOT scheduled job or triggered by a call of report RSCONN01. Not a chance to get this error during creation of mail, but you will receive a mail (usually) which may appear in SOST once the actual mail server (like an Exchange server) returns the error, there can/will be some delay usually as it may/will involve communication with other servers/domain.
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
8 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.