Hi,

I got this script for sending emails from asp from an online tutorial (can't recall from what URL).

I tried to run it, and I don't get any error message but I don't recieve any email at the target email either.

any ideas why ?

maybe I should do something else besides running this script?


here it is:
<%

Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="[email protected]"
myMail.To="[email protected]"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing

Response.Redirect "thanks.html"
%>