Hi Sergey,
Got the basic SMTPsvg.Mailer to work correctly. But, when I try to add form field content into the email I get the following error. I placed the code after the rs.Update.
===========================================
Request object error 'ASP 0207 : 80004005'
Cannot use Request.Form
/assignment/ias_add.asp, line 2358
Cannot use Request.Form collection after calling BinaryRead.
=============================================================
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "fromName"
Mailer.FromAddress = "fromAddress"
Mailer.RemoteHost = "smtp-relay.**.com"
Mailer.AddRecipient "toName", "toAddress"
Mailer.Subject = "My Subject Line"
Mailer.BodyText = Request.Form("Email") & Request.Form("Company") & "," & Request.Form("TodaysDate")
if Mailer.SendMail then
Response.Write "Mail sent..."
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if