>I need to create an email header. Everything working fine except the 
>'Content-Transfer-encoding: quoted-printable'. if i include this into my code
>I am getting a junk html

That's because quoted-printable is a MIME encoding scheme.  It's kind of 
like renaming a file to have a .ZIP extension, and wondering why you can't 
unzip it.

>When i iclude 'Content-Transfer-encoding: quoted-printable'(html corrupted)
>
><table border=">
><tr>
>     <td bgcolor=EEEEE">test</td>
></tr>
></table>

This is how it should look.

My question is why you want to use quoted-printable?  It's a very basic 
encoding scheme, so it shouldn't be a problem to use it.  But why use it if 
you don't need it?

The problem is that the equal sign is used in the quoted-printable encoding 
to indicate certain things.  For example, an "=" at the end of a line 
(right before a CRLF) means "There should be no CRLF here".  The other 
primary use of the equal sign is to designate bytes, such as "=20" to 
indicate a space.  You can read RFC1521 to get the full details.  My 
advice, though, would be not to use quoted-printable, just to be safe.

                                                    -Scott
---
Declude: Anti-virus, Anti-spam and Anti-hijacking solutions for 
IMail.  http://www.declude.com

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to