The SSL (Secure Sockets Layer) permits to encrypt data, so your messages are now safe. In addition, to use the standard email providers is even simple and no specific settings must to be done on email account.
To help the using of the integration of SSL libraries inside the openPicus IDE, we released our lastest Application Note, which contains a easy installer tool to add 2 templates inside the IDE 2.2: one is for FLYPORT Wi-Fi and the other is for FLYPORT Ethernet.
Since SSL Encryption Libraries are not free of charge, to use those templates, the developer have to buy a (low cost, just some dollars…) CD from microchip-direct (code SW300052) and import 2 files inside the projects generated with the SSL templates, using the External Lib tool of the IDE.
Anyway, the following step-by-step guide helps you on the whole process!
The firmware is simple to use:
- Follow the example on page 44 of the Programmers’ guide for the SMTP service
- Prepare the email parameters:
- enable the use of SSL for email with SMTPClient.UseSSL = TRUE;
- set server name
- set user name
- set password
- set server port
- set sender email
- set destination email
- set email subject
- set email message