cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple host's/SMTP Servers with JavaMail API

former_member225041
Participant
0 Kudos

Hi Experts,

I want to use multiple SMTP server's / Host with Javax.mail API. Is it possible to send mail to multiple SMTP Server ?

Thanks in advance,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes.

You can define the SMTP host programatticaly. That said, you just need design your code to manage the SMTP host sessions. Just put controls to course the e-mails and the respective SMTP server these messages (or group of).

Go through this and look for when the program sets its SMTP host programmaticaly: [JavaMail SMTP|http://www.vipan.com/htdocs/javamail.html]

Goodluck!

Regards,

Jan