What to check when your Email2SMS plugin is not sending messages.
1. Make sure plugin is enabled (Yes), and status is Enabled
2. Send test email to SMSEagle.
Check in SMSEagle System logs (menu Settings - Sysinfo) if the gateway received your test email.
Sample System log content with notification that test email reached SMSEagle:
Apr 14 09:52:52 (none) mail.info postfix/smtpd: connect from unknown[192.168.1.100]
Apr 14 09:52:52 (none) mail.info postfix/smtpd: D258028A: client=unknown[192.168.1.100]
Apr 14 09:52:52 (none) mail.info postfix/cleanup: D258028A: message-id=<email@example.com>
Apr 14 09:52:52 (none) mail.info postfix/qmgr: D258028A: from=, size=2901, nrcpt=1 (queue active)
Apr 14 09:52:52 (none) mail.info postfix/smtpd: disconnect from unknown[192.168.1.100]
Apr 14 09:52:56 (none) user.notice daemon: Email2SMS: Email has been converted to SMS and saved in Outbox folder
Apr 14 09:52:56 (none) mail.info postfix/pipe: D258028A: to=<firstname.lastname@example.org>, orig_to=<email@example.com>, relay=php, delay=3.8, delays=0.05/0.01/0/3.7, dsn=2.0.0, status=sent (delivered via php service)
Apr 14 09:52:56 (none) mail.info postfix/qmgr: D258028A: removed
Remember: Your SMSEagle device has to be visible by the SMTP server you use for sending emails.
Devices does not have to be in the same local network (which is great option), but has to see each other with SMTP server.
If you doesn't have any postfix notifications in the System log, it means that your emails are not being delivered to the device. Please check your email SMTP server logs if it is sending your emails correctly.
3. Do a test with SMSEagle as SMTP server.
To see if it is really a problem with your SMTP server, you can do a test that utilizes SMTP server built in SMSEagle device for sending emails.
a) Configure your email client:
- SMTP host: IP address of your SMSEagle device
- SMTP port: 25
- Authentication: SMSEagle SMTP server doesn't require authentication
- Encryption: none
b) Send test email to telephonenumber@ip_address
c) check your SMSEagle System log. Postfix notifications should appear, there should be a message in folders Outbox or Sent Items and finally you should receive SMS message at your cell phone.
NOTE: SMSEagle's internal SMTP server does not accept emails sent to other hosts than itself, so if you are having 'Relay access denied' error please check your email recipients (e.g Outlook's test message won't work).
If your SMSEagle received test email from itself, it means the device is configured properly. Focus on your SMTP server configuration.