November 13th, 2006, 09:36 PM
Join Date: Nov 2006
Time spent in forums: 14 m 33 sec
Reputation Power: 0
Attaching FIles ???
OK I am sorry I have to paste this script but here is the deal.. I am using an asp mailer.. aspFormMail easy to run....I need to make it add an attachment though...it comes with a sample pager and I have made it work but can get it to attach a file when I do I get an error...
(URL address blocked: See forum rules) is the form page..
the script edited is as folloes I will add color to the edited portions..
'Send using the CDONTS component
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.MailFormat = 0
objMail.From = strFromEmail
objMail.To = strToEmail
objMail.Subject = Request("EmailSubject")
objMail.Body = strBody
Set objMail = Nothing