SmtpServerCollectionAdd Method (SmtpServer) |
Adds an
SmtpServer to the collection and sorts the collection
according to the elements priorities.
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public void Add(
SmtpServer server
)
Public Sub Add (
server As SmtpServer
)
Parameters
- server
- Type: MailBee.SmtpMailSmtpServer
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