Mails not sending

352 views
Skip to first unread message

Marc Casals

unread,
Jul 15, 2022, 7:19:54 AM7/15/22
to DSpace Technical Support
Hi

I need some help regarding mail sending. I saw the documentation about it but I still can't receive mails and I don't know where I can see logs to see if SMTP is failing.

I need it to work with O365 and I followed the configuration commented at the end of the section. Only difference is that my SMTP configuration says I must use port 588 instead of 587.

Frontend says that mail was sent succesfully but I don't receive anything.

My conf:
mail.server = smtp.office365.com
mail.server.port = 588
mail.extraproperties =  mail.smtp.socketFactory.port=588, \
                        mail.smtp.starttls.enable=true, \
                        mail.smtp.starttls.required=true, \
                        mail.smtp.ssl.protocols=TLSv1.2

Anyone managed to make it work?

Thanks

Ravi Konila

unread,
Jul 16, 2022, 2:50:10 AM7/16/22
to Marc Casals, DSpace Technical Support
Hi,
 
For me it is working perfectly with the following parameters in local.cfg file
 
mail.extraproperties = mail.smtp.starttls.enable=true, \
                                    mail.smtp.socketFactory.fallback=false, \
                                    mail.smtp.socketFactory.port=587
 
mail.server = smtp.office365.com
mail.server.port = 587
 
Check by just changing the port number from 587 to 588. It should work.
 
 

With Warm Regards

Ravi K.

 

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/bf98b556-c78d-4d8a-8285-7bfd9907b94an%40googlegroups.com.

Marc Casals

unread,
Jul 18, 2022, 3:57:15 AM7/18/22
to DSpace Technical Support
So seems like it was the port number. I realized that when it failed to me with port 587 the reason was that I had no SPF Record for the server so my org Barracuda blocked it. Now I tried it with other mail domains and no problem.

Thanks for your answer.
Marc

El dia dissabte, 16 de juliol de 2022 a les 8:50:10 UTC+2, ravi...@gmail.com va escriure:
Reply all
Reply to author
Forward
0 new messages