MailBee.NET Objects 4.0

SmtpServerCollection.Add Method (SmtpServer)

Adds an SmtpServer to the collection and sorts the collection according to the elements priorities.

public void Add(
   SmtpServer server
);

Parameters

server
An SmtpServer to be added to the collection. The value cannot be a null reference (Nothing in Visual Basic).

Remarks

It's recommended to add elements from higher priority to lower priority. Thus, the elements will stay in the same order as they were added.

See Also

SmtpServerCollection Class | MailBee.SmtpMail Namespace | SmtpServerCollection.Add Overload List