Support for Custom SMTP Configuration

Posted under setup on December 20 , 2018 by Swanand Nirgudkar

SheetKraft supports configuration of additional SMTP settings to facilitate automated email sending. The same can be configured in the Runner folder of the SheetKraftWeb instance on the server.

To setup the same create an extra config file in the Runner directory. Let us call it smtp_custom.config; the contents of which will be

<?xml version="1.0"?>
<smtp_custom from="">
  <network host="" port="587" username="" password="password" enablessl="true"/>

Now that the custom config file has been created, add the following emphasized XML in ActivityRunner.exe.config which is also located in the Runner folder in the following manner

<?xml version="1.0" encoding="utf-8"?>
    <sectionGroup name="mailSettings">
      <section name="smtp_custom" type="System.Net.Configuration.SmtpSection"/>
      <smtp configSource="smtp.config" />
      <add address="*" maxconnection="256" />
    <smtp_custom configSource="smtp_custom.config"/>

Once set up, the custom SMTP configuration can be used to send emails similar to the default smtp usage by specifying it in the SendEmail function.


Let's talk


7th floor, Unit No. 715, C Wing,
Kailas Business Park, S. Veer Savarkar Marg,
Park Site, Vikhroli (W), Mumbai-400079.


For General Queries & Technical Support


For Sale and Demos