Review email notifications not being sent
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Crucible code review notifications are not being sent and the following appears in the atlassian-fisheye-YYYY-MM-DD.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2014-07-16 04:34:26,435 ERROR [notificationManager1 ] fisheye.mail Mailer-sendMessage - problem sending email
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1215)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:586)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at com.cenqua.fisheye.mail.Mailer.send(Mailer.java:227)
at com.cenqua.fisheye.mail.Mailer.sendMessage(Mailer.java:204)
at com.cenqua.crucible.notification.DefaultNotificationManager.processNotification(DefaultNotificationManager.java:522)
at com.cenqua.crucible.notification.DefaultNotificationManager.processNotifications(DefaultNotificationManager.java:365)
at com.cenqua.crucible.notification.DefaultNotificationManager.access$200(DefaultNotificationManager.java:79)
at com.cenqua.crucible.notification.DefaultNotificationManager$6.run(DefaultNotificationManager.java:292)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Cause
The SMTP server has prevented you from sending an email with this from address. In your SMTP Config, if you have Send emails from set to The User address, Fisheye/Crucible will attempt to send the review notification as the user performing the action. The credentials that are used to connect to the SMTP server does not have permission to send emails as this user.
Resolution
Use one of the two solutions below:
In the SMTP Config change Send emails from to the Server address (below)
Adjust the configuration on your SMTP server so that the configuration credentials can send emails as any user
Was this helpful?