AddRecipient Method

Add an address to the recipient list for the current message.

Syntax

object.AddRecipient( Address )

Remarks

The AddRecipient method adds the specified address to the recipient list for the current message. This method should be called after the message transaction has begun with a call to the CreateMessage method. Most servers impose a limit of approximately 100 recipient addresses that will be accepted for a single message.

Return Value

A value of zero is returned if the operation was successful, otherwise a non-zero error code is returned which indicates the cause of the failure.

See Also

AppendMessage Method, CloseMessage Method, CreateMessage Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.