webmail is not displaying all To addresses while sending mail

114 Views Asked by At

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.

1

There are 1 best solutions below

1
On

It must be that specific webmail client's implementation. You can also observe that Outlook, and other mail client implementations differ to some extent. Say GMail header presentation is different from that of Yahoo! mail.

Check with your web mail client's FAQ and you may find a way to list all the mail recipient's addresses.