I’ve just tried example code for SSL shown here; it is much interesting and I tested it; For some reason it doesn’t set sender back email address but in GMail I can see
so sender Email is ignored or something 🙁 Both are recipient’s one :S How to set sender Email to see it in GMail messages correctly?
Thanks
setFrom(), is supposed to do that but gmail’s smtp server is not supposed to take it into account and only uses the smtp account.
And that’s a good thing not to be able to use gmail to forge spams.