----- Original Message ----- From: "Al Bochter" <[EMAIL PROTECTED]>
To: <[email protected]>
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" [EMAIL PROTECTED])

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to