New Club Starter Kit site: problem with email
Re-invent ASP.NET Hosting Community
 Home          Members     Calendar     Who's On

Welcome Guest ( Login | Register )
        



New Club Starter Kit site: problem with email... Expand / Collapse
Message
Posted 10/7/2008 8:44:42 PM Post #753
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
I have a brand new site at re-invent, and have uploaded my CSK-based web site (which is based on the codeplex CSK).   Normal database operations work correctly, but I can't send email.  This is the error:

No connection could be made because the target machine actively refused it 66.29.215.129:25

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 66.29.215.129:25

Source Error:

Line 78:         smtp.UseDefaultCredentials = FalseLine 79:         smtp.Credentials = aLine 80:         smtp.Send(msgMail)Line 81:         Response.Redirect("~/default.aspx")Line 82:     End Sub

Source File: m:\HostingSpaces\sprucka\pcboyscouts.org\wwwroot\Admin\Email.aspx.vb    Line: 80

Stack Trace:

[SocketException (0x274d): No connection could be made because the target machine actively refused it 66.29.215.129:25]   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +239   System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +224

There is more if you need it.

Thanks for any direction you can give.

Posted 10/7/2008 11:05:48 PM Post #754
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
Hello,

Could you check to see if the mail settings in your web.config file match that of our sample in our KB:

  <system.net>

    <mailSettings>

      <smtp from="test@foo.com">

        <network host="mail.yourdomain.com" port="25" userName="myuser@mydomain.com" password="secret" defaultCredentials="true" />

      </smtp>

    </mailSettings>

  </system.net>



Plato
Re-invent Technologies LLC
Re-invent Support Team
http://www.re-invent.com

Specializing in ASP.NET Hosting

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Administrator, Re-invent (Paul), Re-invent (Nick)

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 2:07am

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.037. 10 queries. Compression Disabled.


Copyright 2008 Re-invent Technologies LLC. All Rights Reserved.