[asterisk-users] Sending Email From the dialplan

Dovid B asteriskusers at dovid.net
Sun Feb 25 20:25:20 MST 2007


----- Original Message ----- 
From: "Al Bochter" <Al.Bochter at bochterservices.com>
To: <asterisk-users at lists.digium.com>
Sent: Monday, February 26, 2007 4:20 AM
Subject: [asterisk-users] Sending Email From the dialplan


>I have looked around with no luck.
>
> Does anyone know of a way to send an email from the dialplan.
> The system that I am working on has none thing to do with VoiceMail.
>
> This is something like the SMS command but using sending email
>
> I am working on a prepaid alarm dispatch program for Asterisk if anyone 
> has any input please let me know.
> I will be more than happy to write the code as Open Source for others to 
> use code. With help from the list.

Al try this:
exten => 1234,1,Answer
exten => 1234,2,System(echo "Email Body" | mail -s "SUBJECT" 
me at mydomain.com) 




More information about the asterisk-users mailing list