Install SMTP and .NET 4 framework
-
Go to control panel, Programs, Turn Windows features on or off
-
Add features, SMTP server, Add Required Role Services
-
Set SMTP service to start Automatically and verify the service is started
-
There could be the need that the Application Pool in IIS to set the Identity to "LocalSystem" depending on the way SMTP service was installed in the web server.
-
Configure web server. Update Web.config in root folder
-
Using local SMTP
<system.net>
<mailSettings>
<smtp deliveryMethod="PickupDirectoryFromIis">
<network host="localhost" port="25" defaultCredentials="true" />
</smtp>
</mailSettings>
</system.net>
-
Forwarding to external SMTP in same network (intranet)
After <configuration> and before <system.webServer> add appSettings:
<appSettings>
<add key="smtpServer" value=" SERVERName" />
<!--<add key="EnableSsl" value = "true"/>
<add key="smtpPort" value="587" />-->
<!--<add key="smtpUser" value="MyEmail@any.com" />
<add key="smtpPass" value="mypasswordgoeshere" />
<add key="adminEmail" value="no-reply@no-reply.com" />-->
</appSettings>
If server in LAN
Towards the end of the file and before </configuration> add:
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<specifiedPickupDirectory pickupDirectoryLocation="C:\inetpub\mailroot\Pickup" />
</smtp>
</mailSettings>
</system.net>
-
-
Set SMTP services to "Automatic" and start service if needed:
-
Set up email configuration (Email settings set on ORMS/Tools/vConfiguration/index.htm):
EMailOnServer |
smtp |
Email generated on server using SMTP |
local |
Email generated on client email application |
|
project smtp |
Email generated on server using SMTP and ProjectEMailAddress |
|
notify smtp |
No email generated in workflow. Use Notify button if available. |
|
notify local |
No email generated in workflow. Use Notify button if available. |
|
ProjectEMailAddress |
Forwarding email address for projects using SMTP (only needed when client mail server
is not available to forward their emails) |
|
SupportEMailAddress |
|
Support group email address. |
To configure the email follow these steps:
-
Go to Configuration Manager and set EmailOnServer:
-
Test on a manager like Punchlist manager and create an empty PL and click on Send Punchlist: