| Parameter name | Required | Default value | Description |
|---|---|---|---|
host | yes | - | Mail server domain name or IP |
port | no | Subject to agreement | Service port number (SMTP:25, POP3:110, IMAP4:143 or 993) |
useTLS | no | false | Whether to enable TLS/SSL encryption. Enabled when true |
tlsMode | no | implicit | TLS modes: implicit (implicit), explicit (explicit STARTTLS), require (forced TLS) |
sslv | no | null | SSL version: 1=TLSv1, 2=SSLv2, 3=SSLv3, if empty, use SSLv23 adaptive |
authType | no | NORMAL | Authentication method: NORMAL (LOGIN command), SASL (supports PLAIN/LOGIN) |
user | no | null | Login username |
pwd | no | null | Login password |
| Parameter name | Required | Default value | Description |
|---|---|---|---|
from | no | null | Sender's email address |
to | no | null | Recipient email address |
subject | no | null | EmailTheme |
cc | no | null | CC list |
bcc | no | null | BCC list |
bodySize | no | 100 | Message body size (bytes) |
header | no | Email header | Email header list, supports multiple lines |
attachSize | no | 0 | Attachment size (bytes) |
| Indicator index | Indicator name | Calculation method |
|---|---|---|
| 0 | Total time spent | The sum of the time spent in all stages |
| 1 | DNS Lookup Time | The time taken to resolve host to IP |
| 2 | Connection Establishment Time | TCP connection time to SMTP server |
| 3 | HELO/EHLO time | Time taken to send greeting command |
| 4 | SSL Handshake Time | TLS/SSL Handshake Time (when TLS is enabled) |
| 5 | Certification time | How long does it take to authenticate username and password? |
| 6 | MAIL FROM time | Time taken to send sender command |
| 7 | RCPT TO time | Time taken to send recipient command |
| 8 | DATA time | Time taken to send email data |
| 9 | QUIT time | Time taken to send exit command |
| Indicator index | Indicator name |
|---|---|
| 0 | Total time spent |
| 1 | DNS Lookup Time |
| 2 | Connection Establishment Time |
| 3 | SSL Handshake Time |
| 4 | Certification time |
| 5 | STAT time |
| 6 | LIST time |
| 7 | UIDL time |
| 8 | RETR time |
| 9 | TOP time |
| 10 | DELE time |
| 11 | QUIT time |
| Indicator index | Indicator name |
|---|---|
| 0 | Total time spent |
| 1 | DNS Lookup Time |
| 2 | Connection Establishment Time |
| 3 | SSL Handshake Time |
| 4 | Certification time |
| 5 | STAT time |
| 6 | LIST time |
| 7 | UID time |
| 8 | RETR time |
| 9 | SEEN time |
| 10 | DELE time |
| 11 | QUIT time |
| Error code | meaning |
|---|---|
| 612015 | Login/authentication failed |
| 699000 | Execute Exception |
| Various SMTP/POP3/IMAP4 response codes | Protocol Error code returned by the server |
| 612xxx | Other standard errors |