I don't know why this code is wrong:
strMessage = "Nueva fotograf?a"
' Create email object and set all the values, setting the from address to be the person who filled in the form
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Alfonso"
Mailer.FromAddress= "[email protected]"
Mailer.RemoteHost = "localhost"
Mailer.AddRecipient "Proud To Have Met You", "[email protected]"
Mailer.Subject = "Proud To Have Met You - Contact Form"
Mailer.ContentType = "text/html"
Mailer.BodyText = strMessage
I write this but no message is sent.
Can anybody help me? Thanks
strMessage = "Nueva fotograf?a"
' Create email object and set all the values, setting the from address to be the person who filled in the form
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Alfonso"
Mailer.FromAddress= "[email protected]"
Mailer.RemoteHost = "localhost"
Mailer.AddRecipient "Proud To Have Met You", "[email protected]"
Mailer.Subject = "Proud To Have Met You - Contact Form"
Mailer.ContentType = "text/html"
Mailer.BodyText = strMessage
I write this but no message is sent.
Can anybody help me? Thanks