Arduino – Send Email with Authentication

newmailMany of the Send Email programs I ran across for the Arduino used a SMTP server. But I needed code that would email using user and password authentication.

I found this tidbit on the Arduino Playground site. It took me quite a bit to get this code working so I thought I’d save it here.

You’ll need to modify some of the parameters to get this to work. The most important being the Base64 encoding needed for your username and password. There’s a link in the code to a web site that can encode your information. ( https://www.base64encode.org )

Have fun!

 

This entry was posted in Arduino Stuff. Bookmark the permalink.