Click or drag to resize
SMTPServerInfoProviderGetSMTPServerInfo Method (Int32)

Note: This API is now obsolete.

Returns SMTP server with the specified ID.

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

Parameters

smtpServerId
Type: SystemInt32
SMTP server ID

Return Value

Type: SMTPServerInfo
See Also