Print Page | Close Window

CDONTS and Yahoo email viewer

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7329
Printed Date: 01 April 2026 at 1:14am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CDONTS and Yahoo email viewer
Posted By: yurib
Subject: CDONTS and Yahoo email viewer
Date Posted: 17 November 2003 at 9:58am
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 sees the same file as attachment (the way it 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?




Replies:
Posted By: Bluefrog
Date Posted: 19 November 2003 at 9:50am
Because Yahoo is run by a bunch of yahoos.

-------------
http://renegademinds.com/" rel="nofollow - Renegade Minds - Guitar Software http://renegademinds.com/Default.aspx?tabid=65" rel="nofollow - Slow Down Music



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net