I could send mail to multiple ids by using JavaMailAPI. Added "To" addresses like ;
message.addRecipients(Message.RecipientType.TO,InternetAddress.parse("[email protected]"));
message.addRecipients(Message.RecipientType.TO,InternetAddress.parse("[email protected]"));
message.addRecipients(Message.RecipientType.TO,InternetAddress.parse("[email protected]"));
The mail has been sent to all specified To addresses. Outlook and Mozilla Thunderbird are displaying all To addresses. But why webmail is displaying only the last address added, in the above example, webmail is displaying only "[email protected]" in To.
It must be that specific
webmail
client's implementation. You can also observe thatOutlook
, and other mail client implementations differ to some extent. SayGMail
header presentation is different from that ofYahoo! mail
.Check with your web mail client's FAQ and you may find a way to list all the mail recipient's addresses.