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

Failed to send notification email #2183

Closed
pixelandbrick opened this issue Dec 9, 2024 · 6 comments
Closed

Failed to send notification email #2183

pixelandbrick opened this issue Dec 9, 2024 · 6 comments
Labels

Comments

@pixelandbrick
Copy link

Question

When processing an email notification on form submit, I receive the following error when sending to the System Email assigned in Craft > Settings > Email:

"Failed to send notification email: {"error":"Notification email error. No recipient email address found."}."

I can successfully send a email to a manual address. I'm assuming this is not a bug, but I'm stumped even after some research.

Formie v3.0.14
Craft Solo v5.5.5

Additional context

Screenshot 2024-12-09 at 4 59 36 PM
@engram-design
Copy link
Member

That all seems pretty straightforward. One thing you can check, which is to isolate whether this is an issue with the Queue, is head to a submission in the control panel, and manually trigger the email notification (right-hand sidebar when editing a submission). This won't use the Craft Queue, and can be useful in determining if it's just an issue resolving the system email within the context of the queue.

Let me know if sending the email notification manually helps?

@ul8
Copy link

ul8 commented Dec 17, 2024

@engram-design I have the same issue and tried what you suggested. It still does not work (and I get the same error in the web log file) but I get a success message on the UI (message successfully sent), so at least that is probably a bug.

Where does error even originate from, I cannot find it in a code search of the vendor folder..?

@engram-design
Copy link
Member

The error is raised here. How are you setting the system email? Through an .env variable, or other means?

@ul8
Copy link

ul8 commented Dec 18, 2024

@engram-design we've set it in project config (no env)

@engram-design
Copy link
Member

Does hard-coding it into Formie's email notification make any difference?

@pixelandbrick
Copy link
Author

pixelandbrick commented Feb 3, 2025

I ended up having quite a few problems to solve in conjunction with this one, so I can't provide a straightforward solution. The more direct pieces ended up being to follow @engram-design 's advice about triggering a manual notification, which led to some additional answers, as well as making sure my queue was configured properly.

For the record, I also discovered DNS issues that I inherited, a problem with a forwarder using ImprovMX, and more. Lots of moving parts to make sure this works well, but the specific issue here was solved using the first paragraph in this response.

Thanks @engram-design for your time, and for your wonderful products.

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

No branches or pull requests

3 participants