Hi all,
I am using Java code to send email to users.
The code is
SMTPTransport tr = (SMTPTransport) poSession.getTransport("smtps");
tr.connect(MailHost,FromMailId,Password);
tr.sendMessage(Message,Message.getAllRecipients());
FromMailId is from user mailid
Password is from user password.
Message is what can from user sent to toUser
Message.getAllRecipients() are to user mail id..
But how do i know whether the Email is Successfully Sent or Not?
Ex the User give the Email address as 'xxxx@gamil.com' instead of 'xxxx@gmail.com'
Is any method to identity this problem?
I am waiting for your valuable reply..
Thanks ,
Myl