STM32F2xx : Send an Email with GMAIL
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-27 1:47 AM
Posted on April 27, 2016 at 10:47
STM32F217 : Send an Email with GMAIL
Hi,
I've a problem (I use : STM32F217 - ETH RMII Mode - Standalone) : I need to send an email using a gmail account! a. I don't use DNS so I need SMTP server IP ADDRESS of ''smtp.gmail.com'' ! b. I already tried ''074.125.206.108'' and ''074.125.206.109''... but nothing. c. I activate : ''Access for less secure apps''. What can i do now ? Someone has already encountered the same problem ? Thanks a lot Luca
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-27 8:38 AM
Posted on April 27, 2016 at 17:38
Correctly sending an email so that it doesn't end up in Gmail's spam folder is not easy even from a ''grown-up'' server (you'll need static IP address with configured PTR DNS records, DKIM signatures, etc.).
I can suggest you to use an Email sending API like . They will let you send 10,000 emails free every month. You can send your emails with simple HTTPS requests (I don't know whether they support unencrypted plain HTTP so it's possible that you will need a TLS library like mbedTLS for accessing their API).Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-27 8:46 AM
Posted on April 27, 2016 at 17:46
Step One : Demonstrate you can do it on a PC with sockets, either in Windows or Linux.
Ideally have your own server, and use that. At least with that you'll be able to understand why things aren't working, or are rejected.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
