PortNumber property (IEpnSmtpServerSettings)

Visual Basic example

Visual C++ example

 

Syntax

long PortNumber;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Gets or sets the port number. The standard port number is 25.

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.

This property is used to configure the SMTP e-mail server.

To update the SMTP mail server, set this property and the other IEpnSmtpServerSettings properties accessed by the SMTPServerSettings property (IEpnMailConfigurationSettings) and call the SetPrinterEmailConfiguration method.

See Also

Elements:

SmtpMailServer property, AccountName property, AccountPassword property, ServerTimeout property, Authentication property, SetPrinterEmailConfiguration method

Topics:

ePrint: Getting and Setting Email Options