SMTP error: Uable to use Contact Form

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
4/20/2010 12:46:06 AM
SV
Gravatar
Total Posts 1

SMTP error: Uable to use Contact Form

Hello,

My contact form failed to send any email. Here is the message in system log. System.Net.Mail.SmtpException:

The SMTP server requires a secure connection or the client was not authenticated. 

I have followed the installation guide to configure web.config with my gmail account.

<add key="SMTPServer" value="smtp.gmail.com" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPPort" value="587" />
<add key="SMTPUser" value="yourusername@gmail.com" />
<add key="SMTPPassword" value="yourgmailpassword" />
<add key="SMTPUseSsl" value="true" />

<system.net>
<mailSettings>
<smtp from=yourusername@gmail.com>
<network host="smtp.gmail.com"
port="587"
password="yourgmailpassword"
userName="yourusername@gmail.com"
/>
</smtp>
</mailSettings>
</system.net>

I also configure site setting and contact form with my gmail account.

OS is windows server. Database is MSSQL. Mojoportal version is 20032.3.2.9
 

Any one can help? Thanks a lot.

You must sign in to post in the forums. This thread is closed to new posts.