Example
host
, port
): Client
Name | Type |
---|---|
host | string |
port | string |
Client
string
string
msg
): boolean
IsOpenRelay checks if a host is an open relay.
Name | Type |
---|---|
msg | SMTPMessage |
boolean
Example
SMTPResponse
IsSMTP checks if a host is running a SMTP server.
SMTPResponse
Example
msg
): boolean
SendMail sends an email using the SMTP protocol.
Name | Type |
---|---|
msg | SMTPMessage |
boolean
Example