connect (method)
Establishes a connection to the SMTP server.
Syntax
- (void)connect:(NSString*)address :(int)port;
public func connect(_ address: String, _ port: Int32) throws -> Void
Remarks
Use this method to establish a connection to the SMTP server at Address and Port.