aspose file tools*
The moose likes JForum and the fly likes Email Notifications Not Sent, But Test Email Works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Reply locked New topic
Author

Email Notifications Not Sent, But Test Email Works

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
For some reason the email notifications are not being sent when messages are being posted that I've set up notification for. I've checked to make sure the settings in the Admin Panel are correctly set based on previous posts on this topic, and made sure the "Notify when a reply is posted" option is checked when I initially posted. I have even been able to send several test emails to my address successfully, so it looks like the smtp settings are correct. Am I missing something? Do you have any ideas on how I can resolve this issue?
[originally posted on jforum.net by clc1023]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Is the option "Send an email to notify users when a topic reply is post" set to "true"?

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

Joined: Apr 22, 2012
Posts: 17424
Rafael Steil wrote:Is the option "Send an email to notify users when a topic reply is post" set to "true"?


Yes, that is set to "true".

I have also noticed that I don't receive emails from this forum either even though I've specified that I would like to receive email notifications (maybe you have that turned off?).
[originally posted on jforum.net by clc1023]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
For this forum I have turned it off.. I had some problems with the mail server.

Do you know Java? if you want, you can try to put some logging at the method notifyUsers() of class TopicsCommon.java. Also, take a look in your Tomcat (?) logs and search for any kind of exception that may be related (MailException, templates errors etc.. )

I'll take a closer look here too.

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

Joined: Apr 22, 2012
Posts: 17424
Did anything come of this? I am having the same sort of issue. Users that have opted to Watch a particular forum or thread are not getting e-mails.
[originally posted on jforum.net by Rufus]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rufus, I've still be unable to resolve the issue. We've tried pretty much everything we can think of, but nothing seems to work. The test email and email notifications about private messages work perfectly, but no other notifications are sent.
[originally posted on jforum.net by clc1023]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hmmm, I am currently looking into this since this is something that we really need for our implementation. I will update this thread with any information that I come across. Thanks for the update and please let me know if you find anything.
[originally posted on jforum.net by Rufus]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Thanks. We're also holding off on implementing until this gets sorted out, but I'm not sure if it ever will!

We did find that Exchange is not even attempting to send the notifications except for the PM and test message, but I'm not sure why that is.
[originally posted on jforum.net by clc1023]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
We are also experiencing the same problem. Test emails work fine but notifications do not.
Our implementation is

  • Tomcat 5.5
  • Jforum 2.1.7
  • MySQL 5.0
  • Exchange 2003
  • Port 25 verified
  • No authentication required


  • The Tomcat logs indicate the following error:

    08:35:50,727 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

    We are currently in pre-beta with beta testing to begin the first of October. So any help you can provide would be appreciated.
    [originally posted on jforum.net by jaboud]
    Migrated From Jforum.net
    Ranch Hand

    Joined: Apr 22, 2012
    Posts: 17424
    Please forgive me, but what is CVS and where do I go to get there?

    Thanks for your response Rafael
    [originally posted on jforum.net by jaboud]
    Migrated From Jforum.net
    Ranch Hand

    Joined: Apr 22, 2012
    Posts: 17424
    You can get 2.1.8 from CVS.

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

    Joined: Apr 22, 2012
    Posts: 17424
    Rafael Steil wrote:You can get 2.1.8 from CVS.

    Rafael


    Hi Rafael -
    Is 2.1.8 supposed to fix this issue?
    [originally posted on jforum.net by Rufus]
    Migrated From Jforum.net
    Ranch Hand

    Joined: Apr 22, 2012
    Posts: 17424
    Yes.

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

    Joined: Apr 22, 2012
    Posts: 17424
    I don't usually suggest to get just one or other file, but if you want to give it a try, get all mail related classes (all spammer implementations)

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

    Joined: Apr 22, 2012
    Posts: 17424
    I've located the source code, but I don't know what I need to download. Is it the entire structure or just a file or two?


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

    Joined: Apr 22, 2012
    Posts: 17424
    Rafael - when will 2.1.8 be released?
    [originally posted on jforum.net by jaboud]
    Migrated From Jforum.net
    Ranch Hand

    Joined: Apr 22, 2012
    Posts: 17424
    duplicated - removed
    [originally posted on jforum.net by jaboud]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Email Notifications Not Sent, But Test Email Works