Just got to know sending mails from java code using mail API by specifying smtp host, port, from and to mail addresses and giving my authentication credentials.
I am curious to know following concepts:
1) Depending on my business logic in my enterprise application, want to send mail to my customer (auto generated replies via email). For this, do I need to create an emailProfile for my application server to give this email address as "from" when sending email using mail API?
2) could you please share useful links where I can find more documentation on mailing concepts and useful tips?