Oct 14, 2003 #1 dcarbone Programmer Aug 22, 2003 29 CA What is the proper syntax for sending an attachement using CDONTS
Oct 14, 2003 #2 Veep Programmer Jan 10, 2002 1,368 US set myMail = server.CreateObject("CDONTS.NewMail" myMail.From = "you@yourdomain.com" myMail.To = "someone@somewhere.com" myMail.Subject = "Attachment Test" myMail.body = "This is a test." myMail.AttachFile server.MapPath("attachedfile.asp" myMail.Send set myMail = nothing Upvote 0 Downvote
set myMail = server.CreateObject("CDONTS.NewMail" myMail.From = "you@yourdomain.com" myMail.To = "someone@somewhere.com" myMail.Subject = "Attachment Test" myMail.body = "This is a test." myMail.AttachFile server.MapPath("attachedfile.asp" myMail.Send set myMail = nothing