Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 16th, 2003, 04:19 PM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?







Similar Threads
Thread Thread Starter Forum Replies Last Post
Open email from yahoo or hotmail server wehave74 VB How-To 1 December 23rd, 2006 04:49 AM
Regarding email to yahoo account harshaghanta ASP.NET 2.0 Professional 0 June 1st, 2006 12:15 AM
Build our own ''Yahoo''? studentinpain BOOK: Beginning ASP.NET 1.0 0 November 9th, 2004 03:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.