TheLastBurden
08-29-2006, 01:53 AM
Am trying to send a mail through an asp page :
Please check the Code n resp. error and guide me where i'm wrong .
First code :
Dim Mail
Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.From = "me@something.com"
Mail.To = "to@something.com"
Mail.Subject = "Subject : "
Mail.Body = "Body !"
Mail.Send
Error Message :
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
But one checking the Cause , i found it says to upload the ADO Version from 1.5 to 2 ....whereas i aldready have ADO Version 2.8 ...
Second code :
Dim Mail
Set Mail = Server.CreateObject("CDO.Message")
Mail.From = "me@something.com"
Mail.To = "to@something.com"
Mail.Subject = "Subject : "
Mail.TextBody = "Body !"
Mail.Send()
Error Message :
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
Thanks for any help i can get .
Please check the Code n resp. error and guide me where i'm wrong .
First code :
Dim Mail
Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.From = "me@something.com"
Mail.To = "to@something.com"
Mail.Subject = "Subject : "
Mail.Body = "Body !"
Mail.Send
Error Message :
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
But one checking the Cause , i found it says to upload the ADO Version from 1.5 to 2 ....whereas i aldready have ADO Version 2.8 ...
Second code :
Dim Mail
Set Mail = Server.CreateObject("CDO.Message")
Mail.From = "me@something.com"
Mail.To = "to@something.com"
Mail.Subject = "Subject : "
Mail.TextBody = "Body !"
Mail.Send()
Error Message :
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
Thanks for any help i can get .