Information needed for setting up Office 365 as Email Provider for EUM:
- SMTP Server
- Port
- Email From address
- Username
- Password
While installing EUM, in EUM_config.ps1, put in the Office 365 details under the #Email Settings comment:
# Email settings
$global:PHEUM_SMTPServer = "" #Office 365 SMTP host goes here
$global:PHEUM_EmailFrom = "" #Email From address goes here
Upon completion of installation, put in the following code with the Office 365 credentials in:
On Premises Installation:
- C:\inetpub\wwwroot\~your eum site~\IdentityServer\IdentityServer.exe.config. Scroll to the bottom and paste the following XML snippet before the </configuration> tag,
updating the credentials. - C:\inetpub\wwwroot\~your eum site~\Extranet_API_V4\web.config. Scroll to the bottom and paste the following XML snippet before the </configuration> tag,
updating the credentials.
App Service:
- In the top navigation, click on Debug console > CMD. Browse to site > wwwroot > IdentityServer and locate the IdentityServer.exe.config file. Click the pencil icon beside the file to open a text editor. Scroll to the bottom and paste the following XML snippet before the </configuration> tag,
updating the credentials. - In the top navigation, click on Debug console > CMD. Browse to site > wwwroot > Extranet_API_V4 and locate the web.config file. Click the pencil icon beside the file to open a text editor. Scroll to the bottom and paste the following XML snippet before the </configuration> tag,
updating the credentials.
<system.net>
<mailSettings>
<smtp from="From email address">
<network host="Office 365 SMTP host" password="SMTP password" userName="SMTP Username" port="SMTP Port" enableSsl="true" />
</smtp>
</mailSettings>
</system.net>
Upon saving the changes, reset the IIS or restart the App Service to make the changes effective.
Note: Below details should work:
host="smtp.office365.com"
port="587"
Comments
0 comments
Please sign in to leave a comment.