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, 
[email protected] va escriure:

> 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.*
>
>  
>  
> *From:* Marc Casals 
> *Sent:* Friday, July 15, 2022 2:42 PM
> *To:* DSpace Technical Support 
> *Subject:* [dspace-tech] Mails not sending
>  
> 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
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/bf98b556-c78d-4d8a-8285-7bfd9907b94an%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/bf98b556-c78d-4d8a-8285-7bfd9907b94an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/587ec51c-2f51-4574-81b1-d7bbab085c2an%40googlegroups.com.

Reply via email to