[asterisk-users] Sending Email From A Dial Plan
Damien Gabrielson
damien.gabrielson at mdci.ca
Thu Aug 17 15:37:00 MST 2006
Thanks a bunch, that worked perfectly!
Thomas Artner wrote:
> Damien Gabrielson wrote:
>
>> Hi,
>>
>> I'm looking for a simple way to send email from a dial plan. I have
>> searched around quite a bit looking for a solution for this and I'm
>> surprised that I haven't found anything useful yet other than using the
>> System() application. I would like to be able to change the subject
>> dynamically based on ${EXTEN} and the body is not important. I was
>> hoping to have a one line command from the System() application without
>> having to write a script or any other dependency. Has anyone implemented
>> anything like this?
>>
>
> How about
> System(echo "message text" | mail -s ${EXTEN} mail at domain.com) ?
>
> Why is it a problem to use the system command? You can set the subject
> in dependence of ${EXTEN}!
>
>
>
>> Thanks,
>> Damien
>> _______________________________________________
>> --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
>>
>
>
>
> _______________________________________________
> --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
>
>
More information about the asterisk-users
mailing list