Click or drag to resize
SMTPServerSiteInfoProviderAddSMTPServerToSite Method

Note: This API is now obsolete.

Sets relationship between specified server and site.

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

Parameters

smtpServerId
Type: SystemInt32
SMTP Server ID
siteId
Type: SystemInt32
Site ID
See Also