'How to get the status of the email when I send E-Mail from PL/SQL' [message #137181] |
Tue, 13 September 2005 11:02 |
dmarie
Messages: 1 Registered: September 2005 Location: Miami
|
Junior Member |
|
|
'How to get the status of the email when I send E-Mail from PL/SQL'
I’m sending email with attachment using a PL/SQL package SendMailJPkg a Java class named SendMail as follow:
SendMailJPkg.SendMail(
SMTPServerName => 'localhost',
Sender => 'email address',
Recipient => 'email address',
CcRecipient => '',
BccRecipient => '',
Subject => 'subject',
Body => 'body' ,
ErrorMessage => :ErrorMessage,
Attachments => SendMailJPkg.ATTACHMENTS_LIST('C:\file name')
);
END;
Everything is working fine, I’m able to send the email with the attachment, the only problem that I have is that I need to get the result of the email that I sent. I need to know if the email went thru or failed for some reason.
Please, do you know how to get this answer?
|
|
|
|