Hi,
I have a custom listener who puts emails in the email queue. The email perfectly goes in the Queue, it sends it out, but the mail is never received.
Anyone have tips or could help?
Thank you!
def mail = new Email("exampel@example.com")
//mail.setBcc(bcc)
mail.setFrom("example@example.com")
mail.setSubject("Test")
mail.setBody(body)
SingleMailQueueItem item = new SingleMailQueueItem(mail)
ComponentAccessor.getMailQueue().addItem(item)
Hello there!
Patrick, could you clarify some points for us:
- Has this worked at some point in the past?
- Are the emails reaching your mail provider?
- Have you tried sending the emails to different email providers?
- Have you tried sending the emails to different email accounts of the same provider?
- Are there errors shown on your atlassian-confluence.log file?
- Was the Spam box checked for the emails?
Looking forward to your reply!
Hello, thank you for helping.
But after a lot og testing it turns out there was something wrong with the body. The body was set to "null" and for some reason when I fixed that everything worked again.
Thanks anyway!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello there Patrick!
Thanks for sharing with the Community how you ended up fixing the issue.
If you ever need help again, come here with us!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.