Click or drag to resize
SMTPServerInfoProviderSetSMTPServerInfo Method

Note: This API is now obsolete.

Sets (updates or inserts) specified SMTP server.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISMTPServerInfoProvider.Set(SMTPServerInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SMTPServerInfo.Provider.")]
public static void SetSMTPServerInfo(
	SMTPServerInfo smtpServer
)

Parameters

smtpServer
Type: CMS.EmailEngineSMTPServerInfo
SMTP server to be set
See Also