yahoo email viewer
I run into problem when I send email through CDONTS object with .doc file attachment for example:
Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.AttachFile "c:/file.doc"
myMail.From = request("from")
myMail.Body = request("body")
myMail.Subject = "test"
myMail.To = request("to")
myMail.Send
When email sent to yahoo account the file attachment is gets imbedded into body of email message as if it is text file.
If I send exact same massage from "Outlook" yahoo see the same file as attachment as it is suppose to be. So why it is different from sending by CDONTS ?
Does any one know what's the problem and how to make file stay as attachment in yahoo's email viewer?
|