Sends the current message.
public func send() throws -> Void
This method sends the current message. If the class is not connected to the mail relay, a connection is created, the message is sent, and then the connection is closed unless an error occurs.
Example (Send an Email)
SMTPControl.MailServer = "MyServer" SMTPControl.From = "email@example.com" SMTPControl.SendTo = "firstname.lastname@example.org" SMTPControl.Subject = "My Subject" SMTPControl.MessageText = "This is the message body" SMTPControl.Send()