Problem sending mail through MojoPortal 2.0 contactform

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.
2/1/2012 11:39:07 AM
Gravatar
Total Posts 9

Problem sending mail through MojoPortal 2.0 contactform

I receive a notification that the e-mailmessage was succesfully sent:

Thank You! Your message has been sent.

But I never receive the mailmessage and the system log shows this error below.

When for example I ask the MojoPortal for my password which I forget I get a nice e-mail with my password so it seams the smtp server was set up correctly in web.config (it's actually localhost with no password).

Anny suggestions on how to fix this?

Kind Regards,

Maarten Strobosch
webmaster

 

2012-02-01 18:32:24,268 ERROR mojoPortal.Net.Email - error sending email, message was: <p>test 8 van Maarten</p><br /><br />HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; GTB6.3; FunWebProducts-MyWay; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2)<br />HTTP_HOST: www.losolivos.nl<br />REMOTE_HOST: 81.207.234.200<br />REMOTE_ADDR: 81.207.234.200<br />LOCAL_ADDR: 82.150.141.100<br />HTTP_REFERER: http://www.losolivos.nl/boeken.aspx<br />

DotNetOpenMail.MailException: Could not connect to ::1:25 ---> System.Net.Sockets.SocketException: An address incompatible with the requested protocol was used ::1:25

   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)

   at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)

   at DotNetOpenMail.SmtpProxy.Open()

   --- End of inner exception stack trace ---

   at DotNetOpenMail.SmtpProxy.Open()

   at DotNetOpenMail.SmtpServer.Send(ISendableMessage emailMessage, EmailAddressCollection rcpttocollection, EmailAddress mailfrom)

   at DotNetOpenMail.EmailMessage.Send(SmtpServer smtpserver)

   at mojoPortal.Net.Email.SendEmail(SmtpSettings smtpSettings, String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority) in C:\Users\Strobosch\Documents\Visual Studio 2005\Projects\LosOlivos20\mojoPortal.Net\Email.cs:line 180

2/1/2012 1:40:18 PM
Gravatar
Total Posts 18439

Re: Problem sending mail through MojoPortal 2.0 contactform

Hi Maarten,

That is a strange error, it looks like its trying to use an ipv6 address to connect to the smtp server instead of an ipv4 address.

You are running a very old version of mojoPortal since we removed DotNetOpenMail a good while ago.

I would verify that in the settings for the contact form you have a valid email address configured to receive the notification.

I think you should also consider upgrading. From the stack trace of the error I can see that you deployed your own build that you made from source code (using VS 2005 which means a very very long time ago since we have not supported VS 2005 in a very long time), hopefully you did not modify the mojoPortal code as that would make it difficult for you to upgrade.

Hope that helps,

Joe

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