No success sending email in Mono

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/2/2009 9:44:49 AM
Gravatar
Total Posts 20

No success sending email in Mono

Hi,

we use Mojoportal 2.3.0.8 on a Mono2.0.1-Server with PostreSQL.

I put our email smtp settings on both places of the Web.config.

But when I click on "forgot Password", it shows me the message, that the password is sent, but I never get any email.

The smtp settings are correct, because if I try it local in Windows XP, it works fine.

But our server for the company's website is Mono, so what can I do that it works there as well?

The System Log says nothing.

thanks in advance for any advice

Andi

7/2/2009 1:57:32 PM
Gravatar
Total Posts 18439

Re: No success sending email in Mono

I will see if I can produce this issue using the latest Mono as soon as I have time, probably late next week though. If I can produce the same problem I will report it to the  Mono Bugzilla.

Best,

Joe 

7/2/2009 2:22:43 PM
Gravatar
Total Posts 20

Re: No success sending email in Mono

thanks Joe. Let me know if you get the same problem or if it might work with the latest Mono

7/3/2009 8:49:37 AM
Gravatar
Total Posts 18439

Re: No success sending email in Mono

Hi,

This thread is about an issue sending email on Mono. I prefer if you are having some other email issue on another platform that you start a new thread instead of changing topics on this one. These are not the same questions. The first question is likely a Mono bug, your new question is surely a configuration issue.

Note that this setting has changed its default in the 2.3.1.0 release

<add key="DisableDotNetOpenMail" value="true" />

it used to be false so you might experiment with setting it to false.

If that fails to solve it please start a new thread and mention what mojoportal feature is not sending email, what your configuration looks like, and I would want to see more of the stack trace showing where in the mojoportal code this error happened. 

Best,

Joe

7/13/2009 10:35:45 AM
Gravatar
Total Posts 20

Re: No success sending email in Mono

Did you find anything out with your test, Joe?

 

7/13/2009 1:31:30 PM
Gravatar
Total Posts 18439

Re: No success sending email in Mono

I tried to investigate this today but using the latest Mono built from svn r137783 I'm getting some other major errors that prevent me from even logging in. I've emailed my friend at Novell about it.

Best,

Joe 

7/13/2009 1:57:00 PM
Gravatar
Total Posts 251

Re: No success sending email in Mono

trishohara, btw, your website can send mail in all occurrences, except when sending the password reset, right?

7/13/2009 2:01:28 PM
Gravatar
Total Posts 20

Re: No success sending email in Mono

Actually, I haven't found another "sending email" feature yet, but the password reset. So I don't know, unfortunately. I only know that the smtp settings in the web.config are correct, because it does work in Windows.

 

7/13/2009 2:07:53 PM
Gravatar
Total Posts 18439

Re: No success sending email in Mono

What I was going to do to test is use the contact form, then if it worked I would try the password recovery. The difference is that the contact form uses our smtp settings from the appSettings section and passwordrecovery uses the system.net.mailsettings section.

So by configuring the contact form module setting for where to send the form submissions and then set the appSettings smtp settings you can test whether mail can send at all by using the contact form and check the logs.

If that works and password recovery fails with the same settings in system.net.mailsettings then we can conclude the issue is somehwere in the mono implementation of PasswordRecovery, for all we know its not even trying to send the mail due to some bug. 

I will continue to pursue it after this other Mono error is solved.

Best,

Joe

7/13/2009 2:12:01 PM
Gravatar
Total Posts 251

Re: No success sending email in Mono

Maybe is just a problem like mine?

In my case, updating mojoPortal on my windows server, has made mandatory to set the smtp server as authenticated

btw if nothing is showing in the system log, probably Joe is right: the password recovery function is skipped in mono

7/13/2009 2:49:56 PM
Gravatar
Total Posts 20

Re: No success sending email in Mono

It seems it can't send emails at all. And again nothing in the logs. So what now?

 

Oh btw, Joe, the fckeditor can't be found, because of a missing "b" in the folder name. Log says it looks for this Path '/mojo23/ClientScript/fckeditor264b/editor/fckeditor.html, but the folder is named ".../fckeditor264" without a b. No problem at all, it's easy to fix, but I thought it might be interesting for you to know.

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