POP3 email setting not working

Hi
   I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings. 

  But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve 

Regards,
Anand



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Have you started the cron jobs?


W: https://erpnext.com
T: @rushabh_mehta

On 06-Sep-2013, at 4:49 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
   I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings. 

  But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve 

Regards,
Anand



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un…@googlegroups.com.

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



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi
   Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
   I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings. 

  But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve 

Regards,
Anand



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

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

Check https://github.com/webnotes/erpnext/blob/master/install_erpnext.py#L248

-Anand.

On 10-Sep-2013, at 12:07 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
   Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
   I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings. 

  But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve 

Regards,
Anand



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un…@googlegroups.com.

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



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi
I ran the below script to setup cronjobs for pop3 email pulling, but it is not able to setting up cronjobs and also emails are not pulling over. Kindly help me to solve this issue.

def setup_cron(install_path):
erpnext_cron_entries = [
"*/3 * * * * cd %s && python lib/wnf.py --run_scheduler >> /var/log/erpnext-sch.log 2>&1" % install_path,
"0 */6 * * * cd %s && python lib/wnf.py --backup >> /var/log/erpnext-backup.log 2>&1" % install_path
]

for row in erpnext_cron_entries:
try:
existing_cron = exec_in_shell("crontab -l")
if row not in existing_cron:
exec_in_shell('{ crontab -l; echo "%s"; } | crontab' % row)
except:
exec_in_shell('echo "%s" | crontab' % row)


Regards,
Anand


On Tue, Sep 10, 2013 at 12:12 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ananda,


-Anand.

On 10-Sep-2013, at 12:07 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings.

But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve

Regards,
Anand



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



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+un…@googlegroups.com.



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



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

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

Please post the output of `crontab -l`

-Anand.

On 01-Oct-2013, at 11:15 AM, Ananda Kumar <an...@botcode.com> wrote:

Hi
   I ran the below script to setup cronjobs for pop3 email pulling, but it is not able to setting up cronjobs and also emails are not pulling over. Kindly help me to solve this issue.

def setup_cron(install_path):
erpnext_cron_entries = [
"*/3 * * * * cd %s && python lib/wnf.py --run_scheduler >> /var/log/erpnext-sch.log 2>&1" % install_path,
"0 */6 * * * cd %s && python lib/wnf.py --backup >> /var/log/erpnext-backup.log 2>&1" % install_path
]

for row in erpnext_cron_entries:
try:
existing_cron = exec_in_shell("crontab -l")
if row not in existing_cron:
exec_in_shell('{ crontab -l; echo "%s"; } | crontab' % row)
except:
exec_in_shell('echo "%s" | crontab' % row)


Regards,
Anand


On Tue, Sep 10, 2013 at 12:12 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ananda,


-Anand.

On 10-Sep-2013, at 12:07 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
   Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
   I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings. 

  But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve 

Regards,
Anand



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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+un…@googlegroups.com.



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




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un…@googlegroups.com.

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



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi
Herebelow the crontab result.

*/3 * * * * cd /var/www && python lib/wnf.py --run_scheduler >> /var/log/erpnext -sch.log 2>&1
0 */6 * * * cd /var/www && python lib/wnf.py --backup >> /var/log/erpnext-backup .log 2>&1

Regards,
Anand


On Tue, Oct 1, 2013 at 5:13 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ananda,

Please post the output of `crontab -l`

-Anand.

On 01-Oct-2013, at 11:15 AM, Ananda Kumar <an...@botcode.com> wrote:

Hi
I ran the below script to setup cronjobs for pop3 email pulling, but it is not able to setting up cronjobs and also emails are not pulling over. Kindly help me to solve this issue.

def setup_cron(install_path):
erpnext_cron_entries = [
"*/3 * * * * cd %s && python lib/wnf.py --run_scheduler >> /var/log/erpnext-sch.log 2>&1" % install_path,
"0 */6 * * * cd %s && python lib/wnf.py --backup >> /var/log/erpnext-backup.log 2>&1" % install_path
]

for row in erpnext_cron_entries:
try:
existing_cron = exec_in_shell("crontab -l")
if row not in existing_cron:
exec_in_shell('{ crontab -l; echo "%s"; } | crontab' % row)
except:
exec_in_shell('echo "%s" | crontab' % row)



Regards,
Anand


On Tue, Sep 10, 2013 at 12:12 PM, Anand Doshi <an…@iwebnotes.com> wrote:
Hi Ananda,


-Anand.

On 10-Sep-2013, at 12:07 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings.

But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve

Regards,
Anand



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



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+un…@googlegroups.com.

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




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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+un…@googlegroups.com.

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




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

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

Then you should check the scheduler log.

Go to ERPNext > Setup > Scheduler Error Logs and see if there are error logs in it. Check recent error log entry and you will likely be able to find the reason for the problem.

Thanks,
Anand.


On 01-Oct-2013, at 5:16 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
   Herebelow the crontab result.

*/3 * * * * cd /var/www && python lib/wnf.py --run_scheduler >> /var/log/erpnext                                                                             -sch.log 2>&1
0 */6 * * * cd /var/www && python lib/wnf.py --backup >> /var/log/erpnext-backup                                                                             .log 2>&1

Regards,
Anand


On Tue, Oct 1, 2013 at 5:13 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ananda,

Please post the output of `crontab -l`

-Anand.

On 01-Oct-2013, at 11:15 AM, Ananda Kumar <an...@botcode.com> wrote:

Hi
   I ran the below script to setup cronjobs for pop3 email pulling, but it is not able to setting up cronjobs and also emails are not pulling over. Kindly help me to solve this issue.

def setup_cron(install_path):
erpnext_cron_entries = [
"*/3 * * * * cd %s && python lib/wnf.py --run_scheduler >> /var/log/erpnext-sch.log 2>&1" % install_path,
"0 */6 * * * cd %s && python lib/wnf.py --backup >> /var/log/erpnext-backup.log 2>&1" % install_path
]

for row in erpnext_cron_entries:
try:
existing_cron = exec_in_shell("crontab -l")
if row not in existing_cron:
exec_in_shell('{ crontab -l; echo "%s"; } | crontab' % row)
except:
exec_in_shell('echo "%s" | crontab' % row)



Regards,
Anand


On Tue, Sep 10, 2013 at 12:12 PM, Anand Doshi <an…@iwebnotes.com> wrote:
Hi Ananda,


-Anand.

On 10-Sep-2013, at 12:07 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
   Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
   I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings. 

  But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve 

Regards,
Anand



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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+un…@googlegroups.com.

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




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un…@googlegroups.com.

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





Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un…@googlegroups.com.

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



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi
please refer below

Traceback (innermost last):
File "/var/www/lib/webnotes/utils/scheduler.py", line 71, in trigger
getattr(startup.schedule_handlers, method)()
File "app/startup/schedule_handlers.py", line 54, in execute_daily
scheduler.report_errors()
File "/var/www/lib/webnotes/utils/scheduler.py", line 116, in report_errors
<p>URL: <a href="%(url)s" target="_blank">%(url)s</a></p><hr>""" % {"url":get_url()}) + "<hr>".join(errors))
File "/var/www/lib/webnotes/utils/email_lib/__init__.py", line 19, in sendmail_to_system_managers
get_email(get_system_managers(), None, content, subject).send()
File "/var/www/lib/webnotes/utils/email_lib/smtp.py", line 225, in send
raise_exception=webnotes.OutgoingEmailError)
File "/var/www/lib/webnotes/__init__.py", line 137, in msgprint
_raise_exception()
File "/var/www/lib/webnotes/__init__.py", line 121, in _raise_exception
Please rectify and try again.



On Tue, Oct 1, 2013 at 5:17 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Anand,

Then you should check the scheduler log.

Go to ERPNext > Setup > Scheduler Error Logs and see if there are error logs in it. Check recent error log entry and you will likely be able to find the reason for the problem.

Thanks,
Anand.


On 01-Oct-2013, at 5:16 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
Herebelow the crontab result.

*/3 * * * * cd /var/www && python lib/wnf.py --run_scheduler >> /var/log/erpnext -sch.log 2>&1
0 */6 * * * cd /var/www && python lib/wnf.py --backup >> /var/log/erpnext-backup .log 2>&1

Regards,

Anand


On Tue, Oct 1, 2013 at 5:13 PM, Anand Doshi <an…@iwebnotes.com> wrote:
Hi Ananda,

Please post the output of `crontab -l`


-Anand.

On 01-Oct-2013, at 11:15 AM, Ananda Kumar <an…@botcode.com> wrote:


Hi
I ran the below script to setup cronjobs for pop3 email pulling, but it is not able to setting up cronjobs and also emails are not pulling over. Kindly help me to solve this issue.

def setup_cron(install_path):
erpnext_cron_entries = [
"*/3 * * * * cd %s && python lib/wnf.py --run_scheduler >> /var/log/erpnext-sch.log 2>&1" % install_path,
"0 */6 * * * cd %s && python lib/wnf.py --backup >> /var/log/erpnext-backup.log 2>&1" % install_path
]

for row in erpnext_cron_entries:
try:
existing_cron = exec_in_shell("crontab -l")
if row not in existing_cron:
exec_in_shell('{ crontab -l; echo "%s"; } | crontab' % row)
except:
exec_in_shell('echo "%s" | crontab' % row)



Regards,
Anand


On Tue, Sep 10, 2013 at 12:12 PM, Anand Doshi <an…@iwebnotes.com> wrote:
Hi Ananda,


-Anand.

On 10-Sep-2013, at 12:07 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings.

But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve

Regards,
Anand



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



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+un…@googlegroups.com.

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




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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+un…@googlegroups.com.

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





Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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+un…@googlegroups.com.

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




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi
I have fixed the issue, it was due to my postfix script cf error. I have fixed them and working fine now. Thanks for your support.

Regards,
Anand


On Tue, Oct 1, 2013 at 6:02 PM, Ananda Kumar <an...@botcode.com> wrote:
Hi
please refer below

Traceback (innermost last):
File "/var/www/lib/webnotes/utils/scheduler.py", line 71, in trigger
getattr(startup.schedule_handlers, method)()
File "app/startup/schedule_handlers.py", line 54, in execute_daily
scheduler.report_errors()
File "/var/www/lib/webnotes/utils/scheduler.py", line 116, in report_errors
<p>URL: <a href="%(url)s" target="_blank">%(url)s</a></p><hr>""" % {"url":get_url()}) + "<hr>".join(errors))
File "/var/www/lib/webnotes/utils/email_lib/__init__.py", line 19, in sendmail_to_system_managers
get_email(get_system_managers(), None, content, subject).send()
File "/var/www/lib/webnotes/utils/email_lib/smtp.py", line 225, in send
raise_exception=webnotes.OutgoingEmailError)
File "/var/www/lib/webnotes/__init__.py", line 137, in msgprint
_raise_exception()
File "/var/www/lib/webnotes/__init__.py", line 121, in _raise_exception
Please rectify and try again.



On Tue, Oct 1, 2013 at 5:17 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Anand,

Then you should check the scheduler log.

Go to ERPNext > Setup > Scheduler Error Logs and see if there are error logs in it. Check recent error log entry and you will likely be able to find the reason for the problem.

Thanks,
Anand.


On 01-Oct-2013, at 5:16 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
Herebelow the crontab result.

*/3 * * * * cd /var/www && python lib/wnf.py --run_scheduler >> /var/log/erpnext -sch.log 2>&1
0 */6 * * * cd /var/www && python lib/wnf.py --backup >> /var/log/erpnext-backup .log 2>&1

Regards,

Anand


On Tue, Oct 1, 2013 at 5:13 PM, Anand Doshi <an…@iwebnotes.com> wrote:
Hi Ananda,

Please post the output of `crontab -l`


-Anand.

On 01-Oct-2013, at 11:15 AM, Ananda Kumar <an…@botcode.com> wrote:


Hi
I ran the below script to setup cronjobs for pop3 email pulling, but it is not able to setting up cronjobs and also emails are not pulling over. Kindly help me to solve this issue.

def setup_cron(install_path):
erpnext_cron_entries = [
"*/3 * * * * cd %s && python lib/wnf.py --run_scheduler >> /var/log/erpnext-sch.log 2>&1" % install_path,
"0 */6 * * * cd %s && python lib/wnf.py --backup >> /var/log/erpnext-backup.log 2>&1" % install_path
]

for row in erpnext_cron_entries:
try:
existing_cron = exec_in_shell("crontab -l")
if row not in existing_cron:
exec_in_shell('{ crontab -l; echo "%s"; } | crontab' % row)
except:
exec_in_shell('echo "%s" | crontab' % row)



Regards,
Anand


On Tue, Sep 10, 2013 at 12:12 PM, Anand Doshi <an…@iwebnotes.com> wrote:
Hi Ananda,


-Anand.

On 10-Sep-2013, at 12:07 PM, Ananda Kumar <an...@botcode.com> wrote:

Hi
Can you help me how to configure the Cron jobs? is this required python scripts or the regular linux cron jobs, else do we have any configuration settings on the erpnext portal

Regards,
Anand

On Friday, 6 September 2013 16:49:30 UTC+5:30, Ananda Kumar wrote:
Hi
I have hosted the ERPNext application on Azure VM Server and opened the ports for POP3S and SMTPS on the firewall and UFW also disabled. I am using my Gmail account for pulling emails using pop and the same has allowed on my gmail settings.

But Erpnext not pulling the emails from my Gmail account, Is there any special settings have to configure on the ERPNext and please help me to resolve

Regards,
Anand



Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



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+un…@googlegroups.com.

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




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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+un…@googlegroups.com.

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





Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    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+un…@googlegroups.com.

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




Note:



If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/4isx_g-jgXE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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





Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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+un...@googlegroups.com.

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