SmtpMailServer property (IEpnSmtpServerSettings)

Visual Basic example

Visual C++ example

 

Syntax

BSTR SmtpMailServer;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

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

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:

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

Topics:

ePrint: Getting and Setting Email Options