INT AddRecipient( |
|
LPCTSTR lpszAddress |
|
); |
The AddRecipient method adds the specified address to the
recipient list for the current message. This method should be called
once for each recipient.
Parameters
- lpszAddress
- Points to a string which specifies the address
to be added to the recipient list.
Return Value
If the method succeeds, the return value is the server result
code. If the method fails, the return value is SMTP_ERROR. To get
extended error information, call GetLastError.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csmtpv10.lib
Unicode: Implemented as Unicode and ANSI versions.
See Also
CloseMessage,
CreateMessage,
ExpandAddress,
VerifyAddress
|