Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi Guys,
Could you please let me know how I can disable email notifcation permently in confluence? Is the same way we are doing it in the JIRA? like
set JAVA_OPTS=
"-Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true"
Hi Sanu,
Initially would be just "atlassian.mail.senddisabled" = true, but may I ask you if you're running Confluence as a service? And if so, did you try to re-create the service and try to start Confluence by the .bat or .sh file and see if the changes were applied?
Kind Regards,
LJ.
Yes. our Confluence is running as service.
Re-createing confluence service will solve the issue? If so, could you please help me on this? Is something like below?
In command line,
net stop <current service name>
service.bat remove <current service name>
service.bat install <new service name>
net start <new service name>
In which file I need to put the JVM arguments, service.bat or setenv.bat?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess you can try delete the mail server manually, basically remove the reference to the SMTP server, in this way will disable email notifications for all users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying to restore production data on to my dev server by XML restore option. So in that case if we remove mail server details from dev server and perform the restore option, then also the mails will get generated while restoing the date, becasue XML file contains production mail server details.
So in the above scenario, I guess the only option is available to block the mail is disabling mail server at startup level..
For that I'm trying to put JVM parameters to setenv.bat file, but after service restart its not reflecting anything and mails are sending smoothly.
Now I got the issue that, our confluence is insatlled as service in windows server. So I have to perform either command line option or windows registery option to put the JVM arguments, as mentioned in the below link,
Trying this option and will update the progress here.
Thanks,
Sanu P Soman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Set atlassian.mail.senddisabled property to true
See here https://confluence.atlassian.com/display/DOC/Recognised+System+Properties
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please rexplain correctly...
I have added below content to setenv.bat file,
-Datlassian.mail.senddisabled=true
-Datlassian.mail.fetchdisabled=true
in the set JAVA_OPTS=%JAVA_OPTS% section. But I dont find any difference in confluence (IN JIRA we can see that sendmail disabled from mail queue page) and also not refecting this paramters in the JAVA Runtime arguments section in the system information page.
We are having confluence standalone installations... and version is 4.3.7
Please help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.