Send and receive emails using Node-RED and create a web interface
You might have already done a simple test web interface and now you want to do something functional like sending emails using the Node-RED.
Let’s see what it takes and how we will do this using some simple steps.
Create an email account with SMTP support
You can do this using your own Gmail or Outlook if you want a free alternative or some other email-sending services you find online.
For the sake of simplicity, I will use Outlook here because you can connect fast and easily using your account credentials. You can look at how to get SMTP credentials for Gmail here.
1. Create an account on Outlook.
2. Note the default Outlook SMTP and IMAP access settings:
— Sending SMTP:
- Server address: smtp-mail.outlook.com
- SMTP port: 587
- Encryption: STARTTLS