[Freeswitch-users] vm to email

Aakash aakashviswam at gmail.com
Fri Feb 17 21:15:01 MSK 2012


By replacing my mailserver hostname.I am getting below error.


[root at agschtd05-srv09 usr]# cat email.txt |
/usr/local/freeswitch/scripts/sendemail.py -i -d -f freeswitch at xxxx.com
aakash.viswam at 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.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list