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/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.

7/13/2009 3:14:12 PM
Gravatar
Total Posts 18439

Re: No success sending email in Mono

What kind of email server/account are you trying to use? I mean if you are using an smtp server on localhost, it may be accepting the relay from the web app and thus throws no errors but when it tries to send it is blocked at the firewall. 

I test using a yahoo email address, I got my domain via yahoo domains and they provide email via bizmail.yahoo.com as the smtp server and that is what I use for testing. localhost smtp may be masking the real problem.

Hope it helps,

Joe

7/13/2009 3:30:55 PM
Gravatar
Total Posts 20

Re: No success sending email in Mono

Well, at least there is now something in the log.

I tried it with my GMX account settings, tried the contact form and got this error in the System log:

2009-07-13 22:32:50,520 ERROR mojoPortal.Web.ContactUI.ContactForm - System.Net.Mail.SmtpFailedRecipientsException: failed recipients
at System.Net.Mail.SmtpClient.SendCore (System.Net.Mail.MailMessage message) [0x00000]
at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00000]
at mojoPortal.Net.Email.SendEmailNormal (mojoPortal.Net.SmtpSettings smtpSettings, System.String from, System.String replyTo, System.String to, System.String cc, System.String bcc, System.String subject, System.String messageBody, Boolean html, System.String priority, System.String[] attachmentPaths, System.String[] attachmentNames) [0x00000]
at mojoPortal.Net.Email.SendEmailNormal (mojoPortal.Net.SmtpSettings smtpSettings, System.String from, System.String replyTo, System.String to, System.String cc, System.String bcc, System.String subject, System.String messageBody, Boolean html, System.String priority) [0x00000]
at mojoPortal.Net.Email.SendEmail (mojoPortal.Net.SmtpSettings smtpSettings, System.String from, System.String replyTo, System.String to, System.String cc, System.String bcc, System.String subject, System.String messageBody, Boolean html, System.String priority) [0x00000]
at mojoPortal.Web.ContactUI.ContactForm.btnSend_Click (System.Object sender, System.EventArgs e) [0x00000]
 

In Site Settings -> Email from address I put my GMX address.

7/13/2009 3:52:54 PM
Gravatar
Total Posts 18439

Re: No success sending email in Mono

Put the same from address as you have in the smtp settings as the Site Settings default from address in the site settings page and see if that makes any difference. 

Hope it helps,

Joe

7/14/2009 4:35:30 AM
Gravatar
Total Posts 20

Re: No success sending email in Mono

Ok, that's kinda odd: I did what you suggested. I still get the same error with the contact form

BUT

the password recovery sends now emails. But with placeholders for username and password. (<% UserName %> <% Password %>)

What could this be?

thanks

Andi

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