Search code examples
sitecoresitecore8sitecore-mvc

Sitecore 8 WFFM - Send Email on Save Actions Error


I added one web form(Get Our Newsletter ) using component from experience editor,Subscribe button Save Actions am using the "Send Email Message". screen 1: enter image description here

enter image description here

Screen 2:

enter image description here

In Web config File

<setting name="MailServer" value="smtp.gmail.com" />
  <!--  MAIL SERVER USER
        If the SMTP server requires login, enter the user name in this setting
  -->
  <setting name="MailServerUserName" value="[email protected]" />
  <!--  MAIL SERVER PASSWORD
        If the SMTP server requires login, enter the password in this setting
  -->
  <setting name="MailServerPassword" value="xxxxx" />
  <!--  MAIL SERVER PORT
        If the SMTP server requires a custom port number, enter the value in this setting.
        The default value is: 25
  -->
  <setting name="MailServerPort" value="587" />

and also added below code (or without ) of config file:

<system.net>
<mailSettings>
  <smtp deliveryMethod="Network">
    <network enableSsl="true" />
  </smtp>
</mailSettings>

Setup in Web Forms for Marketers: enter image description here Still am getting following error, please any one help me for this enter image description here


Solution

  • You need to add GMAIL login credentials to the WFFM setup (and also port and enableSSL).

    I did a blogpost about it a long time ago :) http://intothecore.cassidy.dk/2012/05/email-confusion-configuring-smtp.html