|
Article PS01040534
Object doesn't support this property or method error |
Problem Description
The following error is generated when calling AspEmail's method AddAddress (AddCC, AddBcc, AddReplyTo):
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method:
'Mail.AddAddress'
Solution
AddAddress is a method, not a property, therefore you must not
use the '=' sign. The correct syntax is
Mail.AddAddress "addr@host.com"
or
Mail.AddAddress "addr@host.com", "Name"
but not
' incorrect!
Mail.AddAddress = "addr@host.com"
Created: 2/8/2002 4:33:34 AM
Last Modified: 2/9/2002 4:11:25 PM
Copyright © Persits Software, Inc. 1998 - 2023
For technical support, write to support@persits.com.
|
|