Defining the SMTP Server

Follow

Set or change the SMTP Server in JAMS:

  1. Start the JAMS Client as an administrator
  2. In the JAMS tab, click on the Configuration shortcut
  3. Double click the SMTPServer configuration settings
  4. In the Properties dialog box that appears, select the Value tab, then enter the name of the desired SMTP server in the Value text box
  5. Click the Save and Close button
  6. Restart the JAMS Scheduler service to put changes into effect. This will not impact any Jobs in the Schedule, nor any Jobs that are Executing

Configure Authentication to the SMTP Server:

Users can enable SMTP authenticaion through two different methods:

  • Editing the JAMSScheduler.exe.config file
    OR
  • Editing the .NET Framework Machine configuration file.

NOTE: Only one of these methods should be utilized in a given environment.

 

Scheduler Configuration

  1. Open the JAMSScheduler.exe.config file, located by default in C:\Program Files\MVPSI\JAMS\Scheduler

  2. Insert the following code directly before the </configuration> tag, edited for the given environment:
      <system.net>
      <mailSettings>
      <smtp deliveryMethod="Network">
      <network defaultCredentials="false" port="25" host="your.host.name.com" />
      </smtp>
      </mailSettings>
      </system.net>
  3. The entered information should look similar to the image below
    (image shows code in MS Visual Studio)
  4. Once complete, restart the JAMS Scheduler service.

 

.NET Configuration

NOTE: SMTP server settings in the .NET Framework Machine.Config file will also apply to all applications on the machine which use the .NET Framework SmtpClient class. (unless overridden)

  1. Open the Machine.config file, located by default in C:\Windows\Microsoft.Net\Framework64\v4.0.30319\Config
  2. Insert the following code directly before the </configuration> tag, edited for the given environment:
      <system.net>
      <mailSettings>
      <smtp deliveryMethod="Network">
      <network defaultCredentials="false" port="25" host="your.host.name.com" />
      </smtp>
      </mailSettings>
      </system.net>
  3. The entered information should look similar to the image below
    (image shows code in MS Visual Studio)
  4. Once complete, restart the machine

 


More information on the .NET Framwork Machine configuration can be found here:

https://msdn.microsoft.com/en-us/library/ms164242(v=vs.110).aspx

Have more questions? Submit a request

Comments