To: [EMAIL PROTECTED]
Cc: webobjects-dev@lists.apple.com
Subject: Re: Email Problem in WebObjects
1) you don't seem to need to construct a MimeMessage, this class is
needed only when your email has multiple part (text + html, text with
attachments, etc.), use Message instead
2) you need to re
1) you don't seem to need to construct a MimeMessage, this class is
needed only when your email has multiple part (text + html, text with
attachments, etc.), use Message instead
2) you need to replace this :
prop.put("mail.smtp.host",host);
with a real SMTP server instead of « mail.
Hi folks,
I am using java mail api to send emails from WebObjects application.
But I am facing a small problem. The headers are getting displayed in
emails' body. for example here is the mail's body received by the recipient
when I send it from application.
Mime-Version: 1.0
Content-Type: