Difference between revisions of "Block E-mail"

From IPLOG
Jump to: navigation, search
(Created page with "== Block E-mail == === Send === ==== EMAIL_SEND ==== Sends email {| class="wikitable" | colspan="5" |Asynchronous interface |- |in |SERVER |stri...")
 
Line 1: Line 1:
 +
== [[Libraries for IEC 61131-3|Back to Libraries]] ==
 +
 
== Block E-mail ==
 
== Block E-mail ==
  

Revision as of 13:01, 24 October 2018

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