Represents an SMTP relay server to which the mail messages will be sent.
For a list of all members of this type, see SmtpServer Members.
System.Object
MailBee.SmtpMail.SmtpServer
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This class is used to specify an SMTP relay server the mail messages should be submitted to. Another type of SMTP server is SMTP MX server which is a server which accepts mail for a particular domain. When the mail message is submitted to SMTP relay server, the relay server performs the following operations:
To specify SMTP relay server in your application, call mailer.SmtpServers.Add method (assuming mailer is an instance of Smtp class).
Note When MailBee is used in direct send mode (by performing DNS MX lookup against DNS servers in DnsServers collection), MailBee itself acts as SMTP relay server, and dispatches the mail message to the MX servers of recipients domains.
Another example of specifying SMTP relay server in the application is available at SslMode topic.
Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll)
SmtpServer Members | MailBee.SmtpMail Namespace