Skip to content

Email notifications not happening #6

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

Closed
ChrisAngel447 opened this issue Nov 27, 2018 · 15 comments
Closed

Email notifications not happening #6

ChrisAngel447 opened this issue Nov 27, 2018 · 15 comments
Labels
bug Something isn't working question Further information is requested

Comments

@ChrisAngel447
Copy link

Hi Team,

I'm having issues with the emails being sent out. I have added the SMTP settings for a mail address and when I run a test mail under settings tab it works.

I have made sure that all notification types for mail are switched on but nothing is happening.
The Sent Emails and Outbox Emails only show the test mails but nothing else.

Is there anything I can look into on why this is not happening?

Kind regards and thanks

Chris

@denprodan
Copy link
Contributor

denprodan commented Nov 27, 2018

Hi Chris.
Do you have jobs section in your web.config?

<UintraJobs> <settings> <!--Run Types:RunEvery,RunNow,RunOnceAt,RunOnceAtDate--> <!--Time Types:Seconds,Minutes,Hours,Days,Date--> <add job="UpdateActivityCacheJob" enabled="true" runType="RunEvery" timeType="Minutes" time="1" /> <add job="MontlyMailJob" enabled="true" runType="RunOnceIn" timeType="Days" time="1" atHour="12" atMinutes="0" /> <add job="ReminderJob" enabled="true" runType="RunEvery" timeType="Minutes" time="5" /> <add job="SendEmailJob" enabled="true" runType="RunEvery" timeType="Minutes" time="5" /> </settings> </UintraJobs>

@ChrisAngel447
Copy link
Author

Hi Denis,

I do have a job section in the web.config.

Mine looked a bit different with regards to the ReminderJob like below:

<add job="ReminderJob" enabled="true" runType="RunNow" />

But otherwise its the same.

I have changed mine with yours but still no luck. Let me know if you want me to debug somewhere or need anything.

@denprodan
Copy link
Contributor

Hi Chris.
I am wondering how about in-app notifications, are they send to user?

@ChrisAngel447
Copy link
Author

Hi Denis
The in-app notifications are working.

image

@denprodan
Copy link
Contributor

denprodan commented Nov 28, 2018

image
Is sending email notifications enabled for user you tested?
Please check it in edit user profile

@ChrisAngel447
Copy link
Author

Hi Denis,
It was off and I have switched in on, However, after testing I see that the emails are sitting in the Outbox Emails folder. Sent Tries, Type ID, CC emails, Bcc Emails, From Emails and from Name are empty.
I have also made sure that Is Test Mode is unticked.

Kind regards and thanks

Chris

@denprodan
Copy link
Contributor

Hi Chris.
Looks like mail job from web.config doesn't run
Lets's run it manually
Run this url from Postman or just go to it from your browser
GET http://{YOUR_URL}/umbraco/api/notificationJob/runMailJob

@ChrisAngel447
Copy link
Author

I have gone through postman and did the above as mentioned but get a response back of nothing. Everything is empty.
image

@denprodan
Copy link
Contributor

Yes, it has to be empty
But now all mails should be moved from Outbox to Sent Emails folder

@ChrisAngel447
Copy link
Author

Good morning Denis,

I have left everything run for a while and still nothing. The tests mails go through but no mails to a person. Also made sure that all email addresses are correct.

Here a screenshot of how it looks like in my Outbox Email Folder:
image

As you can see that some of the fields are left blank. Is this maybe the problem?

@denprodan
Copy link
Contributor

Hi Chris.
I have created task in our internal system and come back to you with news ASAP

@ChrisAngel447
Copy link
Author

Hi Denis,
Thank you very much!
Kind regards and thanks
Chris

@denprodan
Copy link
Contributor

denprodan commented Dec 3, 2018

Hi Chris
We have released patch for Uintra 1.0 where we fixed mail notifications issue.
https://www.nuget.org/packages/uIntra/1.0.0.1
Please update your project with this version
Looking forward for feedback from you

@ChrisAngel447
Copy link
Author

Hi Denis,
I have upgraded, tested and can confirm that all is working as supposed to!
Thank you very much!
Kind regards and thanks
Chris

@denprodan
Copy link
Contributor

Hi Chris.
Thanks. You welcome

@denprodan denprodan added bug Something isn't working question Further information is requested labels Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants