Adds an SmtpServer to the collection and sorts the collection according to the elements priorities.
Adds an SmtpServer to the collection and sorts the collection according to the elements priorities.
public void Add(SmtpServer);
Adds a top (0) priority SMTP relay server under the specified host name (or IP address string) to the collection and sorts the collection according to the elements priorities.
public SmtpServer Add(string);
Initializes a new instance of the SmtpServer class with the given host name (or IP address string), port number and priority value, adds this instance into the collection, and sorts the collection according to the elements priorities.
public SmtpServer Add(string,int,int);
Initializes a new instance of the SmtpServer class with the given parameter values, adds this instance to the collection, and sorts the collection according to the elements priorities.
public SmtpServer Add(string,int,int,int,bool,AuthenticationMethods,string,string,bool,string,ExtendedSmtpOptions);
Adds a top (0) priority SMTP relay server under the specified host name (or IP address string) to the collection, enables ESMTP authentication for this server, and sorts the collection according to the elements priorities.
public SmtpServer Add(string,string,string);
Adds a top (0) priority SMTP relay server under the specified host name (or IP address string) to the collection, enables ESMTP authentication for this server using the specified methods, and sorts the collection according to the elements priorities.
public SmtpServer Add(string,string,string,AuthenticationMethods);
SmtpServerCollection Class | MailBee.SmtpMail Namespace