cancel
Showing results for 
Search instead for 
Did you mean: 

Email config with Office 365

cristina_aragon
Champ on-the-rise
Champ on-the-rise
I´ve been reading about configuring alfresco to send mail through gmail but I need to use Microsoft server (cloud).

I´ve been testing changing these properties:

# these properties must be:

mail.host=smtp.unirioja.es
mail.port=587
mail.username=alfresco@unirioja.es
mail.password=*****
mail.encoding=UTF-8
mail.from.default=alfresco@unirioja.es


### these other properties make me doubt
mail.smtp.auth=true
#mail.smtp.auth=true
mail.protocol=smtp
#mail.protocol=sendmail
mail.smtp.starttls.enable=true
#mail.smtp.starttls.enable=false

with its differents variations of values (###) but it doesn´t work with any value combination shown.
In general when I use smtp protocol the log says that "Client was not authenticated" and if I use sendmail it says "No provider for sendmail".

has anybody configured alfresco to send mail with Office 365?
Any help would be appreciated,
Cristina


3 REPLIES 3

mrogers
Star Contributor
Star Contributor
This blog says it can't be done,  Office 365 is not an email relay.   http://office365support.ca/smtp-relay-with-office-365/

Hello mrogers,

Thanks for your response. We have a local exchange server and I have tested it within an alfresco 4 and it works.
Thanks again,
Cristina

vincent-kali
Star Contributor
Star Contributor

This works for me:

### SMTP
mail.host=smtp.office365.com
mail.port=25
mail.username=myUser@myDomain.com
mail.password=password
mail.protocol=smtp
mail.smtp.auth=true
mail.smtp.starttls.enable=true
mail.from.default=myUser@myDomain.com
mail.from.enabled=false