If you run your asterisk behind Firewalls (which you probably do), you might run into issues with your ISP blocking outgoing Emails from your Asterisk Box. Here’s a simple solution which lets you use the Gmail servers instead, eliminating these issues.
Steps to use Gmail for Asterisk here
Few simple notes :
- You can use your Google Apps Account too. Just use your full Email as username , eg. john@mycompany.com
- Make sure the Asterisk hostname as reported by ‘hostname’ command is in /etc/hosts – on the line with 127.0.0.1 as IP address – otherwise, sendmail would take few minutes to start and send emails.
