SMTP Configuration
To configure SMTP in Infiniti, you need to make the modifications in Produce and Scheduler configuration files.
Configuring SMTP in Produce
- Open Web.config file present inside Produce folder.
- Search for the string SMTP in Web.config file. You will find the below code in this file.
<mailSettings>
<smtp deliveryMethod="Network">
<network host="127.0.0.1" />
</smtp>
</mailSettings>
- Replace the line containing network host with the credentials of your SMTP account. The final string should look as below:
<mailSettings>
<smtp deliveryMethod="Network">
<network host="<host server name>" password="<your SMTP password>" userName="<your SMTP username>" port="<port number>" />
</smtp>
</mailSettings>
Following is the code if you are using SendGrid account for SMTP. You have to change the username and password in the below code pointing to your SMTP account.
<mailSettings>
<smtp deliveryMethod="Network">
<network host="smtp.sendgrid.net" password="TestingPassword" userName="TestingAccount" port="587" />
</smtp>
</mailSettings>
Best Practice.
If you are using SendGrid, use the API Key method to send SMTP where the username will be "apikey" and the password will be the generated API Key from SendGrid.
Configuring SMTP in Intelledox Scheduler
- Open IntelledoxScheduler.exe.config file present inside the IntelledoxScheduler folder.
- Search for the string SMTP and you will find the below code in the IntelledoxScheduler.exe.config file.
<mailSettings>
<smtp deliveryMethod="Network">
<network host="127.0.0.1" />
</smtp>
</mailSettings>
- Replace the line containing network host with the credentials of your SMTP account.
<mailSettings>
<smtp deliveryMethod="Network">
<network host="<host server name>" password="<your SMTP password>" userName="<your SMTP username>" port="<port number>" />
</smtp>
</mailSettings>
Below is the code if you are using SendGrid account for SMTP. You have to change the username and password in the below code pointing to your SMTP account.
<mailSettings>
<smtp deliveryMethod="Network">
<network host="smtp.sendgrid.net" password="TestingPassword" userName="TestingAccount" port="587" />
</smtp>
</mailSettings>
Info
If you are using Office365 user make sure the user is created in your Office365 account. You would also need to use enableSSL="true" in configuration files as shown below.
<network host="smtp.office365.com" password="***" userName="[email protected]” port="587" enableSsl="true" />
<network host="smtp.office365.com" password="***" userName="[email protected]” port="587" enableSsl="true" />
Updated about 7 years ago