Unanswered: Sending mail from asp page with SMPTsvg.Mailer
Hello Everyone, I'm trying to set up a page where a form gets emailed directly from the page, I've done some research and implemented some code that worked previously on our site under different conditions, I have looked and looked again, any help or insight would be greatly appreciated. Thank you
PS: my error message is: Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method: 'Mailer.AddRecipient' /mv_thankyou.asp, line 111
If (request.Form("name") <> "") then
dim strName, strEmail, strText
strEmail = Trim(request.Form("email"))
strName = request.Form("name")
strText = "E-mail from: " & strName & "From email address:"
Mailer.FromName = "Mail Subject"
Mailer.AddRecipient="strEmail" '(error line 111)
Mailer.Subject ="Thanks for volunteering!"
if Mailer.SendMail then
Response.Write "Mail sent..."
Response.Write "Mail send failure. Error was " & Mailer.Response