JavaMail Secure SMTP
Hi All,
I would like to implement secure smtp within a javamail application.
Before I make use of the example given with the mail.jar package
download I was wondering if any of the following was possible.
1.) Could I hard code a valid username and password on the server to
connect to the secure smtp server and then send mail from multiple
users with the same domain name/different domain name through this
hard coded account. Or do you have to connect per user to the secure
smtp server to send your mails.
2.) Is it possible to maybe append/prefix a username and password with
the "to address" to the secure smtp server. Almost like they way you
can conenct to an ftp server in your browser but oviously by making
use of the Java mail API. The server is able to then login as it can
find the appended/prefixed username and passord on the "to address"
property.
3.) If you know of any other limitations regarding this subject that I
should consider know about.
Thanks for the assistance
--
Regards,
Ryan Meder

