contac form error don send email

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/13/2009 1:26:12 AM
Gravatar
Total Posts 2

contac form error don send email

i runing mojo on localhost but idon know how config to form contact i see how configure the smtp but idon know how configure on localhost the smtp  where send myself a message dont send to  my email that  put on administration settings web

<!-- ******* email settings
Note you also need to specify smtp settings further below in system.net section the settings here appply to features but
the settings in the system.net.mailsettigns section are used by site registration and password recovery -->

<add key="DisableDotNetOpenMail" value="false" />
<add key="SMTPServer" value="smtp.gmail.com " />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPUseSsl" value="false" />
<add key="SMTPPort" value="587" />
<add key="SMTPUser" value="user@gmail.com" />
<add key="SMTPPassword" value="mypassword" />
<add key="SMTPTimeoutInMilliseconds" value="15000" />
<!--<add key="EnableSiteSettingsSmtpSettings" value="true" /> -->
<!-- leave this blank for ascii encoding -->
<add key="SmtpPreferredEncoding" value="" />
<!-- example for Russian encoding
<add key="SmtpPreferredEncoding" value="koi8-r" />


-->

 

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

 

on the sistem log i see this error

 

 

 

2009-03-12 23:22:14,687 ERROR mojoPortal.Net.Email - error sending email, message was: <p>pruebas</p><br /><br />HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)<br />REMOTE_HOST: 201.150.76.150<br />REMOTE_ADDR: 201.150.76.150<br />LOCAL_ADDR: 201.150.76.150<br />
System.Net.Sockets.SocketException: Host desconocido
en System.Net.Dns.GetAddrInfo(String name)
en System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
en System.Net.Dns.GetHostEntry(String hostNameOrAddress)
en DotNetOpenMail.SmtpServer.GetIPEndPoint()
en DotNetOpenMail.SmtpProxy.Open()
en DotNetOpenMail.SmtpServer.Send(ISendableMessage emailMessage, EmailAddressCollection rcpttocollection, EmailAddress mailfrom)
en DotNetOpenMail.EmailMessage.Send(SmtpServer smtpserver)
en mojoPortal.Net.Email.SendEmail(SmtpSettings smtpSettings, String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority)

 

 

help me idon know where its that problem

 

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