I have created an Automated Action to send email to HR, 7 days before confirmation of any employee in the organization. I have created Server Action and changed confirmation date of one employee as well to test email flow. I got that email after around 2 hours. Is there any method or setting through which we can send email immediately for testing purpose?
Server actions with type 'Email' use ir_mail_server.send_email:
"""Sends an email directly (no queuing).
So maybe the condition or Timer for your automated action isn't working?
email_template.send_mail has a parameter force_send:
:param bool force_send: if True, the generated mail.message is
immediately sent after being created, as if the scheduler
was executed for this message only.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/5/14, 8:51 AM|
|Seen: 736 times|
|Last updated: 3/16/15, 8:10 AM|