I’m trying to send an e-mail using the Java mail API. But my e-mail text is to big to be stored on a String.
Is there any way to send an e-mail with something like a String array, or any Collection?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you trying to send an attachment? If so, rather than composing the message yourself, the attachment example in this link may be useful:
http://java.sun.com/developer/onlineTraining/JavaMail/contents.html#SendingAttachments