POP3 mail not received

61 views
Skip to first unread message

Amin Zayani

unread,
Mar 25, 2013, 8:30:57 AM3/25/13
to erpnext-dev...@googlegroups.com, Andre Knörig
Hi,
we are trying to set up email addresses for Support, Sales and HR modules, and there is no problem with outgoing mail, but there is now way to receive the incoming mails from pop3 server. Even stranger: the Sales module accepts the pop3 settings and saves them, but the support module does not save settings: when I tick the box"Sync Support Mails" it just doesn't save the settings.

Any idea why this is happening?

Another thing I'd like to know: is it possible to reply to support tickets from my mail client? I know zendesk allows to add a reply to a support ticket by answering a strange automatically generated address, and then the reply is kept in the tread and the ticket is marked as answered. Is it possible to do this with erpnext too? even with a workaround via the api?

Thanks,

Amin Zayani
--------------------

Rushabh Mehta

unread,
Mar 25, 2013, 8:59:05 AM3/25/13
to erpnext-dev...@googlegroups.com
Amin,

Hi,
we are trying to set up email addresses for Support, Sales and HR modules, and there is no problem with outgoing mail,

Can you check if there is any error in your scheduler? You can do that via #Report2/Scheduler Log

but there is now way to receive the incoming mails from pop3 server. Even stranger: the Sales module accepts the pop3 settings and saves them, but the support module does not save settings: when I tick the box"Sync Support Mails" it just doesn't save the settings.

Any thing in the error console?

Another thing I'd like to know: is it possible to reply to support tickets from my mail client? I know zendesk allows to add a reply to a support ticket by answering a strange automatically generated address, and then the reply is kept in the tread and the ticket is marked as answered. Is it possible to do this with erpnext too? even with a workaround via the api?

No yet as of now, we will have to move everything to IMAP first. Its surely a good to have feature.

Thanks,

Amin Zayani
--------------------

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/Dbxx3_qwGJIJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Anand Doshi

unread,
Mar 25, 2013, 9:01:09 AM3/25/13
to erpnext-dev...@googlegroups.com
Dear Amin,

Can you check if you have chardet module for python installed.
You can use:
pip install chardet

-Anand.

Amin Zayani

unread,
Mar 25, 2013, 10:12:27 AM3/25/13
to erpnext-dev...@googlegroups.com
Thanks for the quick answer.

Can you check if there is any error in your scheduler? You can do that via #Report2/Scheduler Log

Newbie question:where do I find it?

The error console output is here:

[14:56:17.795] Traceback (innermost last):
  File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs
    getattr(wrapper, action.lower())()
  File "../lib/webnotes/model/bean.py", line 280, in save
    self.run_method('validate')
  File "../lib/webnotes/model/bean.py", line 217, in run_method
    getattr(self.obj, method)()
  File "../app/setup/doctype/email_settings/email_settings.py", line 30, in validate
    self.validate_incoming()
  File "../app/setup/doctype/email_settings/email_settings.py", line 71, in validate_incoming
    pop_mb = POP3Mailbox(inc_email)
  File "../lib/webnotes/utils/email_lib/receive.py", line 118, in __init__
    self.get_messages()
  File "../lib/webnotes/utils/email_lib/receive.py", line 151, in get_messages
    self.connect()
  File "../lib/webnotes/utils/email_lib/receive.py", line 137, in connect
    self.pop = poplib.POP3_SSL(self.settings.host)
  File "/usr/lib/python2.7/poplib.py", line 350, in __init__
    raise socket.error, msg
 error: [Errno 113] No route to host

Traceback (innermost last):
  File "../lib/webnotes/handler.py", line 157, in handle
    execute_cmd(cmd)
  File "../lib/webnotes/handler.py", line 190, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File "../lib/webnotes/handler.py", line 207, in call
    return fn(**newargs)
  File "../lib/webnotes/widgets/form/save.py", line 45, in savedocs
    raise e
 error: [Errno 113] No route to host


And yes chardet is updated to the latest version.



On Monday, March 25, 2013 2:01:09 PM UTC+1, Anand Doshi wrote:
Dear Amin,

Can you check if you have chardet module for python installed.
You can use:
pip install chardet

-Anand.
On 25-Mar-2013, at 6:29 PM, Rushabh Mehta <rme...@gmail.com> wrote:

Amin,

Hi,
we are trying to set up email addresses for Support, Sales and HR modules, and there is no problem with outgoing mail,

Can you check if there is any error in your scheduler? You can do that via #Report2/Scheduler Log

but there is now way to receive the incoming mails from pop3 server. Even stranger: the Sales module accepts the pop3 settings and saves them, but the support module does not save settings: when I tick the box"Sync Support Mails" it just doesn't save the settings.

Any thing in the error console?

Another thing I'd like to know: is it possible to reply to support tickets from my mail client? I know zendesk allows to add a reply to a support ticket by answering a strange automatically generated address, and then the reply is kept in the tread and the ticket is marked as answered. Is it possible to do this with erpnext too? even with a workaround via the api?

No yet as of now, we will have to move everything to IMAP first. Its surely a good to have feature.

Thanks,

Amin Zayani
--------------------

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.

Rushabh Mehta

unread,
Mar 25, 2013, 11:59:22 AM3/25/13
to erpnext-dev...@googlegroups.com
Amin, there seems to be an error in the email settings. Or your firewall/router/ISP may be blocking the port.


On Monday, March 25, 2013, Amin Zayani <zayani...@gmail.com> wrote:
> Thanks for the quick answer.
>>
>> Can you check if there is any error in your scheduler? You can do that via #Report2/Scheduler Log

Just add it in the URL after app.html
>> To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

>> To post to this group, send email to erpnext-dev...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/Dbxx3_qwGJIJ.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

> To post to this group, send email to erpnext-dev...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/2RkgL3wTu4gJ.

> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>

--



Twitter: @rushabh_mehta

Reply all
Reply to author
Forward
0 new messages