How to send an email via CLI Interface on Free PBX Servers
Using an SSH tool, such as putty.exe:
SSH into the fully qualified server name or IP address of the FreePBX server you are testing and login as the root account.
Type the following commands:
Sending Email from CLI
- sudo -u asterisk mail -s test1
This email address is being protected from spambots. You need JavaScript enabled to view it. (hit enter) replaceThis email address is being protected from spambots. You need JavaScript enabled to view it. with email address to send test email to. - (Type body of message and hit enter)
- Ctrl D and hit enter.