Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

[ Achieved ]Frappe.sendmail : Send email using scheduler with attachments

@ASHISH_JHA

you can use notification feature https://docs.erpnext.com/docs/user/manual/en/setting-up/notifications

or else can write python side script for the same.

2 Likes

Thanks for the quick reply.I have to send mail to each customer when they complete 1 year with us. So after writing the python script for the same how should I integrate it with erpnext so that the mails will be sent.
I will do a cron that will run the python script once everyday and the script will send the mails to the desired customers but I don’t know where to write the cron.

you have to write cron in hooks, under scheduler events

1 Like