|
wizard_oz -> email on the web (5/11/2005 6:28:22)
|
Hi, I need HELP with email to the web. I created this code<%
Dim MyMail
Set MyMail = Server.CreateObject("CDONTS.NewMail")
MyMail.From = "[email=justme@myaddress.com]justme@myaddress.com[/email]"
MyMail.To = "user[email=user@main.com]@myaddress.com[/email]"
MyMail.Subject = "sending email via CDONTS NewMail"
MyMail.BodyFormat = 1
MyMail.MailFormat = 0
MyMail.Importance = 2
MyMail.Body = "Sending email with CDONTS NewMail" &_
"objects is easy! Try it!"
MyMail.Attachfile "c:\logo99.jpg", "logo99.jpg", 1
MyMail.Send , "[email=user@futuremodels.co.il]user@myaddress.com[/email]", "new subject"
Set MyMail = Nothing
%>
and it works fine with my computer on IIS but on the web I have a probem with sending this files, I need to make a path to send the file to the web, How do I create a path on my script?
|
|
|
|