rodrigosalinas
Technical User
using dreamweaver I inserted information in database, and after inserting info, user is redirected to a thank you page where he can see all the info submitted. in the thank you page, I have a recordset based in the last insterted record. I'm using ASPMAIL and I can't send the mail to the user. code I'm using:
Set Mailer = Server.CreateObject("SMTPsvg.Mailer"
Mailer.FromName = "mysite.com"
Mailer.FromAddress = "webmaster@mysite.com"
Mailer.AddRecipient rs_users.Fields.Item("name".Value, rs_users.Fields.Item("email".Value
Mailer.RemoteHost = "mail.mysite.com"
Mailer.ReplyTo = "webmaster@mysite.com"
Mailer.Subject = "Your order at Mailer.BodyText = msgBody
BUT i'm getting the error message:
Type mismatch: 'Mailer.AddRecipient'
any advice will be appreciated.
Set Mailer = Server.CreateObject("SMTPsvg.Mailer"
Mailer.FromName = "mysite.com"
Mailer.FromAddress = "webmaster@mysite.com"
Mailer.AddRecipient rs_users.Fields.Item("name".Value, rs_users.Fields.Item("email".Value
Mailer.RemoteHost = "mail.mysite.com"
Mailer.ReplyTo = "webmaster@mysite.com"
Mailer.Subject = "Your order at Mailer.BodyText = msgBody
BUT i'm getting the error message:
Type mismatch: 'Mailer.AddRecipient'
any advice will be appreciated.