System won't send e-mail via workflows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fahri.uzun
    Junior Member
    • Apr 2017
    • 7

    System won't send e-mail via workflows

    Hello,

    I want to send emails to specific users when a new Lead created. I configured an e-mail template which is working and then the workflow.

    Target entity: Leads
    Trigger type: After record created
    No Conditions
    Action: Send email: from system to specific users with the template

    But no-one receive any email. System email account is working, i tested it both via template and test e-mail button. Don't know what am i missing here. My other workflows are working fine by the way but none of them send email.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    did you configure crontab (ScheduledTasks)?
    Check also espocrm log and apache error log

    Comment

    • oscarbm92
      Junior Member
      • May 2017
      • 18

      #3
      Same here, there's too many mail crons, can you tell me which one i have to configure please? also there's some text saying that i have to add a line of code

      (* * * * * cd /home/adminubc/public_html/autosport.mx/CRMTest; /opt/alt/php56/usr/bin/php -f cron.php > /dev/null 2>&1)

      where i can found that file?

      Thank you, sorry for my bad english

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Hello

        execute
        Code:
        crontab -e
        in Terminal, add whole string on the new row and save modification (Alt+X -> y)
        Last edited by tanya; 05-19-2017, 07:45 AM.

        Comment

        • fahri.uzun
          Junior Member
          • Apr 2017
          • 7

          #5
          what if i'm hosting EspoCRM on my web hosting under public_html/crm folder?

          Comment


          • tanya
            tanya commented
            Editing a comment
            Don't understand the reason of this question.
            Have you set crontab? if yes and it doesn't work, check jobs status and error log
        • dreginald
          Member
          • Sep 2018
          • 89

          #6
          Is it possible to send a email using create email action in workflow?
          Attached Files

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #7
            Hi there,
            You better use this way https://docs.espocrm.com/administrat...ws/#send-email.

            Comment

            Working...