EPNSMTPSERVERSETTINGS

typedef struct tag_EPNSMTPSERVERSETTINGS
{
   L_UINT uStructSize; 
   L_CHAR L_FAR * pszSmtpMailServer; 
   L_CHAR L_FAR * pszAccountName; 
   L_CHAR L_FAR * pszAccountPassword; 
   DWORD dwServerTimeout; 
   DWORD dwPortNumber; 
   BOOL bAuthentication; 
}EPNSMTPSERVERSETTINGS, L_FAR * pEPNSMTPSERVERSETTINGS;

The EPNSMTPSERVERSETTINGS structure provides information about SMTP e-mail server configurations.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

pszSmtpMailServer

Character string that contains the name of the SMTP mail server. This can be either an IP address or a DNS name.

pszAccountName

Character string that contains the user's login name. Use this member only if the value of the bAuthentication member is set to TRUE.

pszAccountPassword

Character string that contains the user's password for login. Use this member only if the value of bAuthentication member is set to TRUE.

dwServerTimeout

Value that represents the length of time in seconds before the server times out.

dwPortNumber

Value that represents the port number. The standard port number is 25.

bAuthentication

Flag that indicates whether the server requires authentication. If the server requires authentication, the szAccountName and szAccountPassword members must contain data. Possible values are:

 

Value

Meaning

 

TRUE

The server requires authentication.

 

FALSE

The server does not require authentication.

Comments

This structure is used within EPNMAILCONFIGURATIONSETTINGS structure.