<div dir="ltr"><div>hello list,</div><div><br></div><div>i need your help please regarding send mail i use astreisk 1.4;</div><div><br></div><div>i try to send mail when no response like below </div><div><br></div><div style>
<br></div><div style><div>exten => 5xx,1,Dial(SIP/223, 10)</div><div>exten => 5xx,n,system(echo test ${DNIS} Email| mail -s 'Call failed' <a href="mailto:myadresseemail@gmail.com">myadresseemail@gmail.com</a>)</div>
<div><br></div><div style>when i launch the CLI i found :</div><div style><br></div><div style>You have new mail in /var/spool/mail/root<br></div><div style><br></div><div style>i check the root and i found :</div><div style>
<br></div><div style><div>Return-Path: <root></div><div>Received: (from root@localhost)</div><div><span class="" style="white-space:pre">        </span>by localhost.localdomain (8.13.1/8.13.1/Submit) id r55B3Deh023821;</div>
<div><span class="" style="white-space:pre">        </span>Wed, 5 Jun 2013 11:03:13 GMT</div><div>Date: Wed, 5 Jun 2013 11:03:13 GMT</div><div>From: root <root></div><div>Message-Id: <201306051103.r55B3Deh023821@localhost.localdomain></div>
<div>To: failed, <a href="mailto:myadresseemail@gmail.com">myadresseemail@gmail.com</a></div><div>Subject: Call</div><div><br></div><div>test Email</div><div><br></div><div>--r55B3Dei023821.1370430193/localhost.localdomain--</div>
<div><br></div><div style>could you please tell me how to do in order to send email to my address gmail for example </div><div style><br></div><div style>thanks and regards </div></div></div></div>