Hi John,<div><br></div><div>By upgrading python to 2.7 it works for me .Thanks you very much for your guidance.</div><div><br></div><div>Regards,</div><div>Aakash <br><br><div class="gmail_quote">On Sat, Feb 18, 2012 at 12:17 AM, John <span dir="ltr">&lt;<a href="mailto:freeswitch@earthspike.net">freeswitch@earthspike.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It sounds like you haven&#39;t set up DNS resolution correctly.  This basic<br>
server setup stuff is beyond the FreeSWITCH list, to be honest. Do you<br>
have someone who can help you set your server up correctly to be part of<br>
a domain and to resolve DNS correctly?  If not, you may well have<br>
problems later.<br>
<span class="HOEnZb"><font color="#888888"><br>
John<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 17/02/12 18:15, Aakash wrote:<br>
&gt; By replacing my mailserver hostname.I am getting below error.<br>
&gt;<br>
&gt;<br>
&gt; [root@agschtd05-srv09 usr]# cat email.txt |<br>
&gt; /usr/local/freeswitch/scripts/sendemail.py -i -d -f <a href="mailto:freeswitch@xxxx.com">freeswitch@xxxx.com</a><br>
&gt; <a href="mailto:aakash.viswam@xxxx.com">aakash.viswam@xxxx.com</a><br>
&gt; Traceback (most recent call last):<br>
&gt;    File &quot;/usr/local/freeswitch/scripts/sendemail.py&quot;, line 191, in ?<br>
&gt;      send(fromAddress,to,message,verbose)<br>
&gt;    File &quot;/usr/local/freeswitch/scripts/sendemail.py&quot;, line 68, in send<br>
&gt;      smtp = smtplib.SMTP(SERVER, PORT)<br>
&gt;    File &quot;/usr/lib/python2.4/smtplib.py&quot;, line 244, in __init__<br>
&gt;      (code, msg) = self.connect(host, port)<br>
&gt;    File &quot;/usr/lib/python2.4/smtplib.py&quot;, line 292, in connect<br>
&gt;      for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):<br>
&gt; socket.gaierror: (-3, &#39;Temporary failure in name resolution&#39;)<br>
&gt;<br>
&gt; Do i need to do any configuration in the script (sendemail.py) to solve the<br>
&gt; above error ?<br>
&gt;<br>
&gt; -----<br>
&gt; Regards,<br>
&gt; Aakash<br>
&gt; --<br>
&gt; View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/vm-to-email-tp7292324p7295090.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/vm-to-email-tp7292324p7295090.html</a><br>


&gt; Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><img alt="For Latest And Cool Stuff Visit (Www.xcitefun.net)" src="http://i120.photobucket.com/albums/o197/dheeraj111/bestregards.gif?t=1183534675">,<br>

<div><div><span style="border-collapse:collapse"><div><font color="green">
<p style="line-height:normal;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;margin-bottom:12pt;font-size:16px;font-weight:bold"><span style="font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;color:black;font-size:9.5pt"><span> </span>Aakash.V </span><span style="font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;color:black;font-size:9.5pt"></span></p>


<p style="line-height:normal;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;margin-bottom:0pt;font-size:16px;font-weight:bold"><span style="font-family:Wingdings;color:black;font-size:9pt">( </span><span style="font-family:&#39;Times New Roman&#39;,&#39;serif&#39;;color:black;font-size:9.5pt">+91 9171741717</span></p>


<p style="line-height:normal;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;margin-bottom:0pt;font-size:16px;font-weight:bold"><span style="font-family:arial;font-size:small;font-weight:normal"><b></b></span></p>


</font></div></span><font color="#007033" face="Arial, sans-serif"><span style="font-size:11px"><br></span></font></div></div><br>
</div>