PDA

View Full Version : Sending attachment with ASP


poab
10-20-2003, 11:51 AM
Hi,

Using ASP I have this script for sending mail (modified it here):




Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = Request.Form("emailToInput")
objCDO.From = Request.Form("emailFromInput")
objCDO.Subject = Request.Form("subjectInput")
obCDO.Body = Request.Form("bodyInput")
objCDO.Send
Set objCDO = Nothing

I'm using it to send a postcard. What I want to do is modify that script so I can add an attachment, (basically my cv, in pdf format, located on the web).

Anyone know how?

cheers.


__________________

tg
10-20-2003, 12:56 PM
check thru this (http://www.devguru.com/features/tutorials/cdonts/cdonts.html).

poab
10-20-2003, 05:05 PM
thanks very much :)