B-1
Appendix B. EmailSend Using the
Gmail™ Outgoing SMTP Server
The functionality described in this Appendix is not available for
CR5000 or CR200-series dataloggers.
Due to changes by Gmail, the EmailSend program in this appendix
will only work with our faster dataloggers, the CR6 and the
CR300. For other dataloggers, we suggest another compatible
mail service such as Yahoo®.
The datalogger has a mail client in it similar to a mail client on a computer. For
the datalogger to send an email, it needs a Simple Mail Transfer Protocol
(SMTP) server to send through like any other mail client. The Gmail SMTP
server can be used for sending outgoing email from the datalogger. Both the
modem and the datalogger must be configured for PPP as described in Section
7.5
,
ACEmanager and Template Files
(p. 18)
, and Section
7.6
,
Enabling PPP
Mode
(p. 20)
.
B.1 Setting up a Gmail Account
First you need to create a Gmail account, if you do not already have one. To
create a Gmail account, go to
www.gmail.com
from your PC. Gmail accounts
are free of charge.
The credentials to access the mail server will be the username and the password
used when creating the Gmail account.
In the following example program you will see:
•
ServerAddr set to smtp.gmail.com:587
•
UserName set to (the Gmail account user name).
•
Password (the one you established at Gmail)
Gmail requires Transport Layer Security (TLS) to connect to their
mail server. You must go into the Settings Editor in
DevConfig
to
enable TLS in the datalogger.
In 2013, Gmail changed the way they receive email. The changes require a port
number of 587 to be added to the IP address or server name you are sending to
(for example, 174.194.68.108:587, smtp.gmail.com:587). This will allow for
the datalogger to establish a TLS connection with the correct SMTP port on
Gmail’s SMTP servers.
Also, a new security feature has been added to Gmail that will prompt if the
device/PC sending the email is authorized to do so. You will see a message in
the
Result
variable (of the
EmailSend
instruction) that refers to opening your
email account in your web browser. If you see this message, open your web
NOTE
NOTE
NOTE
Summary of Contents for RV50
Page 2: ......
Page 6: ......
Page 38: ...Appendix B EmailSend Using the Gmail Outgoing SMTP Server B 4 ...
Page 42: ...Appendix C Configuring the RV50 for Dynamic IP C 4 ...
Page 47: ...Appendix E Regulatory Information E 3 E 5 RoHS Compliance ...
Page 48: ...Appendix E Regulatory Information E 4 ...
Page 49: ......