:GetExtendedOptions()
Class
Syntax
:GetExtendedOptions( [hSession] ) -> aOptions
Parameters
|
|
hSession |
Optional: If hSession is not passed, the value in :Session will be used |
Return
Seven element array of current options for the current session.
See table below
Description
The :GetExtendedOptions() method returns the extended options supported by the server. The use of extended options requires that the server support the ESMTP protocol, and that the client identify itself using the :HelloEx() method.
|
Value |
Constant |
Description |
|
1 |
SMTP_IS_OPTION_EXPN |
The server supports address expansion using the EXPN command. The :ExpandAddress() method can be used to expand addresses. |
|
2 |
SMTP_IS_OPTION_VRFY |
The server supports verification of addresses using the VRFY command. The :VerifyAddress() method can be used to verify addresses. |
|
3 |
SMTP_IS_OPTION_DSN |
The server supports delivery status notification (DSN) which allows the sender to be notified when a message has been delivered, or when an error occurs during the delivery process. The :SetDeliveryOptions() method can be used to specify the delivery options to be used in the current session. |
|
4 |
SMTP_IS_OPTION_SIZE |
The server supports the use of the SIZE parameter, which enables the client to determine the maximum message size that may be delivered through the server. |
|
5 |
SMTP_IS_OPTION_ETRN |
The server supports the use of the ETRN command, instructing the server to start processing its message queues. |
|
6 |
SMTP_IS_OPTION_8BITMIME |
The server supports the delivery of messages that contain characters with the high (8th) bit set. |
|
7 |
SMTP_IS_OPTION_AUTHLOGIN |
The server supports client authentication using the AUTH LOGIN command. The :AuthenticateUser() method can be used to provide the server with the user name and password. |
See Also
:GetDeliveryOptions(), :SetDeliveryOptions(), :AuthenticateUser(), :HelloEx()