Java Mail exception while sending
Hello,
I am trying to send a mail using javax.mail.Transport class, with it's send() method. The 'to' address is a valid address while the 'from' address is not a valid one.
Occasionally, it gives me a javax.mail.SendFailedException for the invalid 'FROM' address even though the 'TO' address is valid. I am not able to determine under what situations does it check whether the from address is a valid one.
Can anyone give me information related to this?
Thanks

