This project is read-only.

How can I configure KIGG for using google smtp server

Feb 10, 2010 at 3:25 PM

When I try to configure KIGG for using google smtp server, like this

  <smtp from="" deliveryMethod="Network">
    <network host="" port="465" userName="" password="MyPassword" defaultCredentials="false"/>

I have an error, while sending email. When I looked to the Send email method via debugger I saw that SmtpServer and Port properties in the base class of WeblogEmailTraceListenerData are empty. How can I fix this?

Mar 27, 2010 at 1:30 AM

Google requires SSL. To setup that, find your Unity configuration and look for the following

          <type type="IEmailSender" mapTo="EmailSender">
            <lifetime type="Singleton"/>
            <typeConfig extensionType="Microsoft.Practices.Unity.Configuration.TypeInjectionElement, Microsoft.Practices.Unity.Configuration">
                <param name="templateDirectory" parameterType="System.String">
                  <value type="System.String" value="mailTemplates"/>
                <param name="enableSsl" parameterType="System.Boolean"><value type="System.Boolean" value="false"/></param>
                <param name="settings" parameterType="IConfigurationSettings">
                <param name="file" parameterType="IFile">

Note the bold parameter enableSsl, make sure to set the value to true