Sounds good but could you explain how I do that?
Main Topics
Browse All TopicsI have code in an ASP.NET page that sends an email with some attachements. I've found that depending on how long the message body is some or most of the message is truncated. I've breifly remember hearing about this problem and I think it pertains to permissions on a temp folder that ASP.net uses to create the message before sending it but I am not sure. Have any of you guys had this problem? My code for sending out the message is nothing fancy, it simply creates the message attaches a file and sends it out.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
These are the differant types.
cdo7bit "7bit" Simple 7-bit ASCII
cdo8bit "8bit" 8-bit coding with line termination characters
cdoBase64 "base64" 3 octets encoded into 4 sextets with offset
cdoBinary "binary" Arbitrary binary stream
cdoMacBinHex40 "mac-binhex40" Macintosh binary to hex encoding
cdoQuotedPrintable "quoted-printable" Mostly 7-bit, with 8-bit characters encoded as "=HH"
cdoUuencode "uuencode" UUENCODE encoding.
I would try this.
MailObject.ContentTransfer
Business Accounts
Answer for Membership
by: ggoodwin81Posted on 2006-08-30 at 12:38:38ID: 17423415
This is caused by a strict adherance to RFC 2822 standards. According to the RFC, no single line should be longer than 1000 characters (actually 998 characters, plus the 2 for the CrLf break). Some of the older gateways and server strictly enforce this rule, while most of the newer mail server implementations allow lines longer than 1000 characters. Typically, people will experiance this problem when sending HTML email, because of long, unbroken HTML lines.
le format for the EmailMessage.ContentTransf erEncoding property. This will cause your email to have soft CRLF line breaks every 72 characters. When the email client decodes the message, the original line breaks will have been preserved.
I recommend you set the MailEncoding.QuotedPrintab