Sending emails via Office365 from your XpressDox server account

The following settings must be added to your web.config file if you want to configure your XpressDox server account to send emails via Office365.

 

<smtp from=”yourFromAddress@email.com”>
<network host=”smtp.office365.com” enableSsl=”true” port=”587″ password=”yourPassword” userName=”yourUserName@email.com” defaultCredentials=”false”  />
</smtp>

 

NOTE:

  • The “from” address must be a valid email address.
  • If the user name is different to the From address, then permission to the mailbox must be given to that user. Further details can be found here.