Difference between revisions of "Block E-mail"
Line 8: | Line 8: | ||
Sends email | Sends email | ||
{| class="wikitable" | {| class="wikitable" | ||
− | | colspan="5" |[[# | + | | colspan="5" |[[#Asynchronous operations|Asynchronous interface]] |
|- | |- | ||
|in | |in |
Revision as of 12:09, 24 October 2018
Contents
Back to Libraries
Block E-mail
Send
EMAIL_SEND
Sends email
Asynchronous interface | ||||
in | SERVER | string | server url or ip address | |
in | PORT | uint | server port | |
in | USERNAME | string | username | |
in | PASSWORD | string | password | |
in | ENCRYPTION | uint | 0 = none
1 = STARTTLS 2 = SSL | |
in | FROM_ADDR | string | from address | |
in | TO_ADDR | string | to address | |
in | CC_ADDR | string | carbon copy address | |
in | BCC_ADDR | string | blind copy address | |
in | SUBJECT | string | message subject | |
in | MESSAGE | string | message body | |
in | TMO_S | uint | communication timeout |
Tested configurations:
Service | Server | Port | Username | Password | Encryption | Note |
---|---|---|---|---|---|---|
Gmail | smtp.gmail.com | 465 | iploggama@gmail.com | Admin201 | 2 | Less secure apps access must be allowed |
Seznam.cz | smtp.seznam.cz | 25 | 0 | |||
Seznam.cz | smtp.seznam.cz | 587 | 1 | |||
Seznam.cz | smtp.seznam.cz | 465 | 2 |
Encryption
EMAIL_ENC_NONE
Returns constant for none encryption
out | Q | uint | constant for NONE encryption |
EMAIL_ENC_STARTTLS
Returns constant for STARTTLS encryption
out | Q | uint | constant for STARTTLS encryption |
EMAIL_ENC_SSL
Returns constant for SSL encryption
out | Q | uint | constant for SSL encryption |