Share via


SMTPEmail Property

SMTPEmail Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The SMTPEmail property specifies the primary SMTP address used for the recipient.

Applies To

IMailRecipient Interface

Type Library

Microsoft CDO for Exchange Management Library

DLL Implemented In

CDOEXM.DLL

Syntax

[Visual Basic]Property SMTPEmail As String

[C++]HRESULT get_SMTPEmail(BSTRpVal);
HRESULT put_SMTPEmail(BSTR Val);

Parameters

  • pVal
    Returns the value of the SMTPEmail property as a reference to a BSTR.
  • Val
    Sets the value of the SMTPEmail property to the value of the BSTR.

Remarks

The default value for this property is NULL (no address specified). The value specified in this property modifies the ProxyAddress property.

Example

jamessmith@somewhere.example.com

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.