If you want to send an email to multiple recipients:-

Thành Đạt

New member
If you want to send an email to multiple recipients:-
A. void addRecipients(Message.RecipientType type, Address[] addresses)
B. void addRecipients(Message.RecipientType type)
C. all of the mentioned
D. none of the mentioned
 
Answer: a
Explanation: If you want to send an email to multiple recipients then the following methods would be used to specify multiple email IDs:
void addRecipients(Message.RecipientType type, Address[] addresses) throws MessagingException.
 

Tìm kiếm

Back
Top