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