I'm having trouble understanding something, maybe someone out there can
help me see the light.
We use to send out plain/text emails with PDF attachments to our
customers. In the last month we've gone to an HTML formatted email,
same PDF. What's happening though is some of the users are reporting
that the PDFs are being converted to ATT...Txt files. Screen shots
show that the emails look as they should in the right HTML format, but
the pdf files are in fact txt file. The users can save the txt files
as PDF and they are read fine using Acrobat Reader.
What I'm trying to pin down is where the problem is. When I
same email to any of my email accounts, the email looks good and the
attachments come thru fine. So I'm thinking there is a problem on the
clients side (y/n?) If the prob lies with the client what do they need
to do to fix this? Can I fix this on my end without messing up the
email look/format? I've attached to code we use, maybe someone can
look at it and see something.
Thanks in Advance..
Set oMail = CreateObject("CDO.Message")
.HTMLBody = pHTMLHeader & pHTMLBody & pHTMLFooter
.BodyPart.ContentMediaType = "multipart/mixed"
.BodyPart.Charset = "utf-8"
.Subject = "Report Notification"
.From = "m...@you.com"
.To = "youraddr...@here.com"
.AddAttachment (App.Path & "logo.gif")
'Loop thru the PDF/XLS
For pAttachIdx = 1 To .Attachments.Count
.Attachments(pAttachIdx).ContentTransferEncoding = "base64"