Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail automation create not working #460

Open
vinuv00702 opened this issue Jan 13, 2025 · 8 comments
Open

Mail automation create not working #460

vinuv00702 opened this issue Jan 13, 2025 · 8 comments

Comments

@vinuv00702
Copy link

Bug Report

After creating template, and start to create automation then it returns the form itself

Description

[A brief description of the bug or issue you're encountering.]

Steps to Reproduce

  1. [Detailed step-by-step instructions to reproduce the issue.]

Expected Behavior

[What you expected to happen.]

Actual Behavior

[What actually happened.]

Screenshots

[If applicable, provide screenshots illustrating the issue.]

Environment

  • Django Version: [Django version you're using, e.g., 3.2.1]
  • Python Version: [Python version, e.g., 3.9]
  • Operating System: [Your OS, e.g., Windows 10, Ubuntu 20.04]
  • Browser: [If applicable, specify the browser and version you're using.]

Additional Information

[Any other relevant information, logs, error messages, or context that might help in understanding and fixing the issue.]

Possible Solution

[If you have any ideas or suggestions on how to fix the issue, feel free to provide them here. This is optional.]

Labels

[If your project uses labels, suggest any labels that might apply to this issue, such as 'bug', 'needs investigation', etc.]

Priority

[Specify the priority level for this issue, such as 'high', 'medium', 'low', etc.]

Assignees

[If you want to suggest an assignee or tag a specific person to look into this issue, mention their GitHub username here.]

Related Issues

[If there are any related issues or pull requests, mention them here. This is optional.]

Note: Remember to search through existing issues before submitting a new one to ensure that the issue hasn't been reported already. Provide as much information as possible to help the maintainers understand and address the problem effectively.

@horilla-opensource
Copy link
Owner

Hi @vinuv00702 ,

Thank you for reporting the issue.

Could you please provide more details about the steps you followed, what you expected to happen, and what actually happened? Screenshots would also be helpful.

Once we have this information, we can look into the issue further.

Best regards,
Team Horilla

@sachinarora130884
Copy link

sachinarora130884 commented Jan 18, 2025

I also tried every possible scenario with different combinations but automation doesn't trigger emails at all. In fact, I followed the steps in the video tutorial for "How to Set Up Mail Automation in Horilla HR Software" but didn't trigger any emails.

However, the mail server is configured successfully (Attached), Received test mail and also the reset password email. other than that no other emails are working.

2 scenarios:

  1. As shown in the tutorial, the candidate's stage type changed to hired but the candidate didn't receive any email.
  2. Helpdesk, When a ticket is created and the status is new, it should trigger an email to the owner and the assigned ... but no email.

Image

Image

@horilla-opensource
Copy link
Owner

Hi @sachinarora130884,

Please confirm if there are any errors in the logs. If there are, please share the screenshot.

Best regards,
Team Horilla

@sachinarora130884
Copy link

Hi @sachinarora130884,

Please confirm if there are any errors in the logs. If there are, please share the screenshot.

Best regards, Team Horilla

Hi, I think the problem is somthing to do with permission to send as. I have attached the error. Error says that "[email protected]" not allowed to send as "[email protected]" where in exchange the permssion is already granted to send as. still the problem exists.

Image

@sachinarora130884
Copy link

Hi @sachinarora130884,
Please confirm if there are any errors in the logs. If there are, please share the screenshot.
Best regards, Team Horilla

Hi, I think the problem is somthing to do with permission to send as. I have attached the error. Error says that "[email protected]" not allowed to send as "[email protected]" where in exchange the permssion is already granted to send as. still the problem exists.

Image

the issue has resolved. Email's have started flowing.

@horilla-opensource
Copy link
Owner

Hi @sachinarora130884,

Thank you for updating us.

We are glad to hear that the issue has been resolved and the emails are now flowing as expected. It appears the permission issue with "send as" was the root cause, and we’re pleased that it has been sorted.

If you encounter any further issues or need assistance with anything else, please don’t hesitate to reach out.

Best regards,
Team Horilla

@vinuv00702
Copy link
Author

Hi,
So, can I know about the fix done? is it in the master branch now?

@sachinarora130884
Copy link

Hi, So, can I know about the fix done? Is it in the master branch now?

Hi,

There were 2 issues:

  • send as issue: for this, we granted the permission to the user.
  • Authenticated SMTP was enabled for the "send as" user. We disabled it and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants