Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why pdf file attachment become junk code for certain mail accounts?

Status
Not open for further replies.

920506

Programmer
Jun 13, 2003
201
US
Hi, All
In my program, I attached a pdf file to an email and send to customer. It works fine for yahoo.com, certain commercial accounts. The pdf file can be opened without any problem. But when I send out to hotmail.com and gmail.com accounts, the pdf file become a junk, look like a binary code within the email(the text email part looks OK, just the pdf file). I used CDONTS component in my asp program. Is there anything I didn't set up specifically when I attached the pdf file? Please help!
Betty
 
first thing i can think of is improperly attached.

Or hotmail / gmail may not like the email encoding, may want to try the same tactics with CDOSYS instead of CDONTS.. other than that i'm at a loss as well.

[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top