Smtp problems sending mail...

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.
7/15/2009 2:13:35 AM
Gravatar
Total Posts 6

Smtp problems sending mail...

I get this error when trying to send my test user's password using the password recovery method:

.... Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) .......

my Smtp server is setup to use no-ip mail server, so why is this not working?

Smtp Setting is:
<add key="DisableDotNetOpenMail" value="true" />
<add key="SMTPServer" value="smtp-auth.no-ip.com" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPUseSsl" value="false" />
<add key="SMTPPort" value="3325" />
<add key="SMTPUser" value="noip-smtp-user" />
<add key="SMTPPassword" value="noip-smtp-password" />
<add key="SMTPTimeoutInMilliseconds" value="30000" />

mailSettings is:
<mailSettings>
<smtp from="from@domain.com">
<network host="localhost" port="25" password="windows-password" userName="windows-name" />
</smtp>
</mailSettings>
 

I've been working on this all day and have not been successful yet, is the settings correct?
 

 

7/15/2009 6:58:41 AM
Gravatar
Total Posts 18439

Re: Smtp problems sending mail...

Hi,

It looks like the connection is being closed abruptly by the smtp server.

Password recovery uses the system.net.mailsettings. Why do you not have the same smtp server and port listed there? 

I do not know about no-ip mail, what is that?, the user and password are generally not a windows account but a user account at the smtp machine.

Hope it helps,

Joe

7/15/2009 12:29:15 PM
Gravatar
Total Posts 6

Re: Smtp problems sending mail...

Well that solved it, by putting the same netowrk info in the mailSettings.  Through NO-IP and I Have my domain pointing to my own server, plus they have mail service I'm using to send my mail.  This was my goal to design and run my own server insteading paying for hosting service.  I was alwas limitted in what I can do without my own server.

7/15/2009 12:38:27 PM
Gravatar
Total Posts 6

Re: Smtp problems sending mail...

I got some typos in my previous post,  are you going to implement the allowing to edit your post?  But, when I was trying to say is, through the NO-IP server I can design my own website exactly how I want because of the limitation through host sevices because my domain name is pointing to my own server.  Kewl huh?

7/16/2009 8:40:28 AM
Gravatar
Total Posts 18439

Re: Smtp problems sending mail...

Ok, so no ip is a dynamic DNS service so you can run a server on a broadband connection without a static ip address. I would make sure you are also keeping a DNS mx record updated with that service if you are sending mail with your own smtp server. Lots of email systems will do a reverse DNS lookup on the ip address of the sending server and if it does not match the mx record for the email from address domain they will flag the mail as spam.

Best,

Joe

ps, its already possible to edit your posts, there is a pencil icon next to your posts if you are signed in. 

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