Block E-mail

From IPLOG
Revision as of 12:14, 24 October 2018 by Z033 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Example:
B email.jpg

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