SmtpSPA Property

<< Click to Display Table of Contents >>

Navigation:  Reference > SmtpMail >

SmtpSPA Property

 

SmtpSPA property specifies whether to use Secure Password Authentication (SPA) method. SPA is supported by Microsoft Exchange, Windows 2000 Server and Windows 2003 Server.

 

Syntax

 

[Visual Basic]


objSmtpMail.SmtpSPA = True

 

[VBScript]


objSmtpMail.SmtpSPA = True

 

[C#]


objSmtpMail.SmtpSPA = true;

 

[C++]


HRESULT get_SmtpSPA(VARIANT_BOOL*);

HRESULT put_SmtpSPA(VARIANT_BOOL);

 

spSmtpMail->PutSmtpSPA(VARIANT_TRUE);

 

 

Remarks

 

SmtpSPA property is False by default. If your outgoing mail server requires SPA please set SmtpSPA property to True in order to use Secure Password Authentication. Please note that some servers are configured to require SmtpUsername in username@domain.com format for SPA authentication.