This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes net.jforum.exceptions.MailException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "net.jforum.exceptions.MailException" Watch "net.jforum.exceptions.MailException" New topic
Author

net.jforum.exceptions.MailException

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi,

Posting here because i'm not sure if this is a bug or a configuration problem on my part.

Notification emails (for watching a forum or notification of a reply) are not being sent. Forgot password and test emails from the admin console are being sent; i assume they all use the same settings so my smtp stuff should be good. This is the message in the logs for notifications:

20:21:26,049 WARN [AbstractWorker ] Exception while executing a task: net.jforum.exceptions.ForumException: net.jforum.exceptions.MailException: Error while dispatching the message.javax.mail.MessagingException: IOException while sending message;
nested exception is:
java.io.IOException: No content

Tried doing general searches and stuff, but no results. I would look into the code myself, but without source file and line number it would be an endeavor. Figured it was easier to just ask first.

Thanks in advance. Cheers,
m@

[originally posted on jforum.net by mlohbihler]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Posted as a bug in Jira: JF-628.
[originally posted on jforum.net by mlohbihler]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Ok, i've made some progress with this that i can report on later, but i just thought i'd mention that this would have been much easier if the stack trace had not been swallowed at AbstractWorker.run:76. The '+' should be replaced with a ','.
[originally posted on jforum.net by mlohbihler]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Fixed.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rafael Steil wrote:
Fixed.
Rafael


Do you have a 2.1.8 binary/.war planned for the download section?

[originally posted on jforum.net by inzide]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I'm finishing the admin part for Lucene. As I want to put the cvs of 2.1.8 into a production website of mine, I have to finish it ASAP too .

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
OR, perhaps you could extend the JF-628 issue to be more specific as to where and what was changed. Then I'll patch the classes myself. I cannot reproduce the fix from your description in Jira, though...

Help would be appreciated!

/MK
[originally posted on jforum.net by inzide]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Ok, cool!

Appreciate your hard work

[originally posted on jforum.net by inzide]
 
Don't get me started about those stupid light bulbs.
 
subject: net.jforum.exceptions.MailException
 
Similar Threads
JMS Example
E-mail notification on watched forum
Help! Email notifications not being sent
Email Notifications Not Sent, But Test Email Works
Exception while sending email using jforum