SMTP Password: Your Windows Live Hotmail password.SMTP Username: Complete Live/Hotmail email address.SMTP Username: Complete Outlook email addressįor Live or Hotmail accounts, these are the SMTP Server settings:.If you’re using a Gmail account, these are the SMTP Server details:įor Outlook accounts, these are the SMTP Server settings: You should be able to find the instructions with a quick google search “ your_email_provider + allow less secure apps”. If you’re using another email provider, check what you need to do to allow less secure apps.
Search for ESP32 Mail Client by Mobizt and install the library as shown below. In your Arduino IDE go to Sketch > Include Library > Manage Libraries… This library can be installed through the Arduino IDE Library Manager. Installing the ESP32 MailClient Libraryīefore proceeding with this tutorial, you need to install the ESP32 MailClient library. Each email provider has a different SMTP server. To send emails through code, you need to know your SMTP server details. SMTP means Simple Mail Transfer Protocol and it is an internet standard for email transmission. The attachment is a photo taken with the ESP32-CAM. In this project, we’ll use SMTP to send an email with an attachment. This library allows the ESP32 to send and receive emails with or without attachment via SMTP and IMAP servers. To send emails with the ESP32-CAM, we’ll use the ESP32 MailClient library. You just need to make sure you use the right pin assignment for the board you’re using: ESP32-CAM Camera Boards: Pin and GPIOs Assignment Guide. This project is compatible with any ESP32 camera board with the OV2640 camera. To make this project work, the ESP32-CAM needs to be connected to a router with access to the internet – needs to be connected to your local network.