VBScript runtime error '800a01b6'
Posted on 2006-04-25
Why does it have a problem with the senders address?
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Mail.AddRecipient'
/login_success/inventory/mailsendconfirm.asp, line 38
It works if I have it as:
Mail.AddRecipient = "Me" "Me@myaddress.com"
But Not As:
Set Mail = Server.CreateObject("SMTPsvg.Mailer") 'create an Asp mail component.
Mail.FromName = "Inventory Update"
Mail.RemoteHost = "mrvnet.kundenserver.de" ' The mail server you have to use with Asp Mail
Mail.AddRecipient = "Me@myaddress.com;email@example.com"
Mail.Subject = "Inventory - Update"
Mail.BodyText = strBody