Re: ERJavaMail
Re: ERJavaMail
- Subject: Re: ERJavaMail
- From: Gino Pacitti <email@hidden>
- Date: Wed, 15 Feb 2012 10:04:18 +0000
I am doing this...
ERMailDeliveryHTML mail = new ERMailDeliveryHTML();
mail.setComponent(pageToRender);
mail.newMail();
mail.setFromAddress(FROM_ADDRESS);
mail.setReplyToAddress(REPLY_ADDRESS);
mail.setSubject(subject);
mail.setToAddresses(toAddresses);
mail.sendMail();
Yet still it shows - Content-Transfer-Encoding: 7bit
Any ideas how this can be overridden?
G
On 15 Feb 2012, at 09:56, Philippe Rabier wrote:
Hi Gino,
I've checked what our emails contain and I can see:
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
We send only HTML mails so maybe it can explain the difference.
And the code is something like that:
ERMailDeliveryHTML message = new ERMailDeliveryHTML();
message.setComponent(page);
String mailSubject = (String)
_localizer.valueForKeyPath(mailSubjectKey);
message.setSubject(mailSubject );
message.setToAddress(email);
message.setFromAddress(mailFrom);
// send the mail assynchronously
message.sendMail();
Philippe
On 14 févr. 2012, at 20:36, Gino Pacitti wrote:
Hi All
I can send an HTML email with style and UTF-8 Characters...
But the styling does not get rendered on my mail program (It does
for other HTML emails...)
The main difference I see in the headers is this:
My email header viewed as source
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
This is from another email which I received from a promotion sent
to me with images and styled text:
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
If this is the cause is there there a way to set the Content-
Transfer-Encoding using ERJavaMail?
Or am I missing something?
Gino
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >ERJavaMail (From: Gino Pacitti <email@hidden>) |