I've the following classic ASP code to send email using SMTPsvg.Mailer :
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "From Name"
Mailer.FromAddress= "[email protected]"
Mailer.RemoteHost = "mail.test.com"
Mailer.AddRecipient "inquiry", "[email protected]"
Mailer.Subject = "Contact Request"
I'm trying to convert it to use CDOsys, but the CDOsys object doesn't seem to have FromName, RemoteHost attributes as per the documentation here:
http://msdn.microsoft.com/en-us/library/ms526367(v=exchg.10).aspx
Is it possible that the remote host is automatically included when using CDOsys ?