posted 11 years ago
I want to send a mail back to the sender and whoever is present in the cc list if the attachment is not valid. I am using methods of javax.mail.Message. I am able to get the "from" field to the sender but not able to get the "cc" field. Is there any way to extact cc list from the list of AllRecipients??