I am building a mail client and I would like to know if my session is able to support all kind of smtp connections... although I don't really know what can I expect from there
I would like to confirm if the following is correct
1 - For SMTP I will only need the host:
props.put("mail.smtp.host", host);
Don't I need user and pass?
2 - For SMTPS I will need to set the tls or is it always true? What about ssl?
I'm a little bit noob about the mail protocols so I would really appreciate some help on this topics.
I would recommend spending some time with the JavaMail FAQ, which has more resources to help you get started.
To answer your immediate questions...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With