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