Hi,
i have to use the ASPMail obj on a site, and not CDONTS. one of the properties
required is remoteHost, but if i set it to a true
SMTP server (ex. smtp.clara.net) i get an error "Operation timed out", and if i put a
false SMTP server (ex. test.test.com) i get
Host not found. as anyone come accross something like this?
here is the script i call the ASPMail obj from:
<%
Set Mailer = Server.CreateObject ("SMTPsvg.Mailer")
Mailer.FromName = "[EMAIL PROTECTED]"
Mailer.FromAddress = "[EMAIL PROTECTED]"
Mailer.Subject = "test"
Mailer.BodyText = "test"
Mailer.RemoteHost = "smtp.clara.net"
Mailer.TimeOut = 10
Mailer.AddRecipient "[EMAIL PROTECTED]","[EMAIL PROTECTED]"
'Mailer.SendMail
if Mailer.SendMail then
'Message sent sucessfully
response.write ("Votre message a �t� envoy�")
else
'Message send failure
response.write ("Votre message n'a pas �t� envoy� . ")
response.write ("L'erreur �tait : " & Mailer.Response)
end if
Set Mailer = Nothing
%>
Thanks for your time
Tim
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]