How Can We Help?
< All Topics
Print

Advanced Techniques: Speeding Up SMTP Connections in Smarter Mail

To improve SMTP connections to Smarter Mail on a server with a multi-core processor, switch the .NET garbage collector run mode to “Server Mode”. This allows each CPU to run the process in parallel, resulting in faster SMTP processing.

a) How do I slow SMTP connections to Smarter Mail ?

1. First, create a MailService.exe.config file in Notepad, located in the same folder as MailService.exe in C: \Program Files (x86)\ SmarterTools\SmarterMail\Service.

2. Then, paste the following configuration, removing spaces in the open chevron:

<?xml version="1.0"?>
<configuration>
<runtime>
<gcServer enabled="true"/>
<loadFromRemoteSources enabled="true">< /loadFromRemoteSources>
</runtime>
<system.runtime.remoting>
<customErrors mode="Off">< /customErrors>
</system.runtime.remoting>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>

3. After that, save the file.

4. Finally, stop and restart the Smarter Mail service.

Table of Contents