How can we know wheter a mail is sent successfully?
Posted on 2004-11-22
Consider this:If a user enters a supperfically valid email ,such as firstname.lastname@example.org,which is essentially invalid,and the program attempts to send a mail to this address.The result of sending this email will be failure,but how can we know the result?
I use JMail to send email,and I know the method send of JMail.Message would return False,
which indicates the sending fails.but the value False seems to be the result of some configuration errors(eg. an invalid account which is used to send mail is provided. )