Problem with CC
843830Apr 14 2003 — edited Apr 14 2003I am having problem with CC function/part of the Java Mail API. Could anybody help me how to combine or concat more than one email address to CC.
Like in outlook if we give cc:abc@XYZ.com;def@XYZ.com;ijk@XYZ.com.
we can separate the email addresses by a semicolen.
How do I do it using the JAVA MAIL.
I am using the
msg.setRecipients(Message.RecipientType.CC)
option and dont know how to pass the "cc" String i.e what is the separator between the strings.
Thanks
Ashish