Section "Mail"

We have a typo in the "SMTP" related config keys: We have named them "smpt". We are sorry about that, but currently we cannot change this. Our plan is to fix thix during an update. We inform you here and in the change log

For anonymous SMTP server access please set and `true` and `smptusername` to (empty)

For authentication to SMTP server using the credentials of the service account of kenaflow AND during debug using the credentials of the workflow developer please set and `true` and `smptusername` to (empty)

useSharePointForSend

    <entry key="useSharePointForSend" type="System.Boolean" default="false" comment="if you client cannot send using SMTP than try this."></entry>

If your kenaflow server machine is not able to send mails directly by using SMTP you can leverage SharePoint to send mails.

This does not allow you to send attachments!

This only works for SharePoint related workflows!

smptserver

    <entry key="smptserver" type="System.String"></entry>

The host name or IP of your SMTP server.

smptserverport

    <entry key="smptserverport" type="System.Int32" default="587"></entry>

The SMTP servers port.

smptusername

    <entry key="smptusername" type="System.String"></entry>

For SMTP authentication you can specify the username here.

smptpassword

    <entry key="smptpassword" type="System.String"></entry>

For SMTP authentication you can specify the password here.

smptUseSsl

    <entry key="smptUseSsl" type="System.Boolean" default="true"></entry>

Specifies whether the SMTP server is to be addressed using SSL. This is the default.

smptUseDefaultCredentials

    <entry key="smptUseDefaultCredentials" type="System.Boolean" default="true" comment="used only if *smptusername* is empty!"></entry>

Use this setting to authenticate to SMTP server using the current Windows credentials.

During debug the credentials of the workflow developer are used.

During automatic run the credentials of the workflow engines service account is used.

mailSender

    <entry key="mailSender" type="System.String"></entry>

This email address is used as the senders address.

mailReplyto

    <entry key="mailReplyto" type="System.String"></entry>

This email address is used as reply-to address.

subjectPrefix

    <entry key="subjectPrefix" type="System.String" default=""></entry>

kenaflow can add an custom prefix to every send mails subject.

subjectSuffix

    <entry key="subjectSuffix" type="System.String" default=""></entry>

kenaflow can add an custom suffix to every send mails subject.

Full Section Default

  <section name="mail">
    <entry key="useSharePointForSend" type="System.Boolean" default="false" comment="if you client cannot send using SMTP than try this."></entry>
    <entry key="smptserver" type="System.String"></entry>
    <entry key="smptserverport" type="System.Int32" default="587"></entry>
    <entry key="smptusername" type="System.String"></entry>
    <entry key="smptpassword" type="System.String"></entry>
    <entry key="smptUseSsl" type="System.Boolean" default="true"></entry>
    <entry key="smptUseDefaultCredentials" type="System.Boolean" default="true" comment="used only if *smptusername* is empty!"></entry>
    <entry key="mailSender" type="System.String"></entry>
    <entry key="mailReplyto" type="System.String"></entry>
    <entry key="subjectPrefix" type="System.String" default=""></entry>
    <entry key="subjectSuffix" type="System.String" default=""></entry>
  </section>

Discussion