Outlook SMTP

43 views
Skip to first unread message

official xnat acqi

unread,
Mar 25, 2025, 10:25:48 AM3/25/25
to xnat_discussion
Hi everyone 


Anyone lucky with Outlook SMTP settings like GMAIL can be used with App Passwords?
Also can anyone confirm what other SMTP Servers they are using to monitor XNAT EMAILS, like Amazon SES, Google Workspaces?

I tried to use personal Outlook SMTP with following recommended settings and "App Password" but was unable, always throw error;

Username: "Your email address"
Password: "App Password"
SMTP server name: "smtp-mail.outlook.com"
SMTP port: "587"
SMTP encryption: "STARTTLS"
Authentication Method: "OAuth2/Modern Auth"

Thanks in advance. 

Regards
Acqi Xnat Admin

official xnat acqi

unread,
Apr 1, 2025, 2:53:47 AM4/1/25
to xnat_discussion

The Error I get;


XNAT has encountered an error with your request:

Status: Unknown status

URI: Unknown URI

Message: Unknown error occurred

If this error continues to occur, please contact your system administrator with information about how to recreate the problem.




official xnat acqi

unread,
Apr 3, 2025, 1:31:42 AM4/3/25
to xnat_discussion

Detailed Error from Logs;

Caused by: javax.mail.AuthenticationFailedException: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [SY5PR01CA0059.ausprd01.prod.outlook.com 2025-04-03T05:26:44.571Z 08DD72410FAD89FC]

        at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:932)
        at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:843)
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:748)
        at javax.mail.Service.connect(Service.java:366)
        at org.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:503)
        at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:422)
        ... 102 common frames omitted

Regards
Acqi Xnat Admin

official xnat acqi

unread,
Apr 3, 2025, 4:28:00 AM4/3/25
to xnat_di...@googlegroups.com
Looks like basic Auth settings are not supported by Microsoft anymore. Gmail with app password still works fine.

Does XNAT plan to provide SMTP interface/ development of Auth2.0 settings in GUI?

Regards 
Acqi Xnat Admin

--
You received this message because you are subscribed to a topic in the Google Groups "xnat_discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xnat_discussion/cLh58MnucH4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xnat_discussi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xnat_discussion/375b4f42-8a11-48e4-8dfd-3d3e08d3faefn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages