Hi John, By upgrading python to 2.7 it works for me .Thanks you very much for your guidance. Regards, Aakash On Sat, Feb 18, 2012 at 12:17 AM, John <freeswitch@earthspike.net> wrote:
It sounds like you haven't set up DNS resolution correctly. This basic server setup stuff is beyond the FreeSWITCH list, to be honest. Do you have someone who can help you set your server up correctly to be part of a domain and to resolve DNS correctly? If not, you may well have problems later.
John
On 17/02/12 18:15, Aakash wrote:
By replacing my mailserver hostname.I am getting below error.
[root@agschtd05-srv09 usr]# cat email.txt | /usr/local/freeswitch/scripts/sendemail.py -i -d -f freeswitch@xxxx.com aakash.viswam@xxxx.com Traceback (most recent call last): File "/usr/local/freeswitch/scripts/sendemail.py", line 191, in ? send(fromAddress,to,message,verbose) File "/usr/local/freeswitch/scripts/sendemail.py", line 68, in send smtp = smtplib.SMTP(SERVER, PORT) File "/usr/lib/python2.4/smtplib.py", line 244, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.4/smtplib.py", line 292, in connect for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM): socket.gaierror: (-3, 'Temporary failure in name resolution')
Do i need to do any configuration in the script (sendemail.py) to solve the above error ?
----- Regards, Aakash -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/vm-to-email-tp7292324p7295090.... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- [image: For Latest And Cool Stuff Visit (Www.xcitefun.net)], Aakash.V ( +91 9171741717 **