Results 1 to 2 of 2
- 02-08-2008, 06:14 PM #1
Member
- Join Date
- Feb 2008
- Posts
- 1
- Rep Power
- 0
How to send email with specific Content-Transfer-Encoding?
Hello,
I tried to send email with header Content-Transfer-Encoding: 8bit. Here is the code:
....
Message msg = new MimeMessage(session);
msg.setHeader("X-Mailer", "WebZEmailer");
msg.setHeader("Content-Transfer-Encoding","8bit");
.....
msg.setContent(message, "text/plain;charset=iso-8859-1");
.....
After sending to my Gmail account, I checked the header and it is always 7bit. I confirmed with my Sys Adm that the SMTP server I use supports 8BITMIME SMTP extension. Any idea? Thanks in advance.
Ally
- 09-27-2008, 01:42 AM #2
??... maybe?...Java Code:Content-type: text/plain; charset=ISO-8859-8
Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Similar Threads
-
send email using JMS
By Heather in forum Advanced JavaReplies: 9Last Post: 01-07-2009, 03:04 PM -
Some help with encoding...
By nm123 in forum NetworkingReplies: 0Last Post: 04-15-2008, 12:22 AM -
Missing text encoding
By talgreen in forum EclipseReplies: 0Last Post: 03-30-2008, 08:14 PM -
How to convert the encoding of a file
By valery in forum New To JavaReplies: 1Last Post: 08-06-2007, 03:48 AM -
To send email of page present Web from a Jsp
By Marcus in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 06-09-2007, 04:08 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks