Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Not sending mails

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The smtp configuration is correct and the send test mail works but no mails are being sent to the users. Users are not receiving notifications.

Did I miss something in the installation?
[originally posted on jforum.net by brunoduarte]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using a valid email address as the system email address? I broke mine by using a non-valid email address such as DO-NOT-REPLY@website.suffix and it did not go through, even though it did not error out.

The other thing to check is to see if you are using port 25 or if you are using 587 or 26 for outgoing. Play around with those. I had to change mine to 587 before it came through in a timely manner.
[originally posted on jforum.net by confused2gether]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem is that we implemented SSO and was using a default mail address for all users.

I wonder if there is a way to deactivate some features of the forum like PMs or notifications?!?!
[originally posted on jforum.net by brunoduarte]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can, by manually editing the template files and removing the sections... and setting the default to "disabled" (via configuration on admin panel)

However I chose a different approach for my forum implementation: When a user first is logged on to the forum I forward him to the "profile" page automatically (manually changed the code) - so he's 'forced' to update his data... along with his email address.

Also you will notice that the "links" would not work that are generated by the forum spammer (sending out notifications) - that is if you are not logged on in advance ...

The trick I used is having the login page of the portal as initial URL, alogn with the "hook_url" which points to the forum. After login to the portal the user is then forwarded to the forum integration page, with the forum loading the url specified in the hook_url ...
[originally posted on jforum.net by Sid]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same problem, the mail doesn't work.
I am using mail settings for a real account we set up just for the bbs.
I am sure it is working as I have tested it with a mail browser.
I have momentarily put down the firewall of the bbs server just in case, but I can't find an indication it is even trying to send out mails.
Any other people having this problem?

Regards,
[originally posted on jforum.net by goldhorse]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

goldhorse wrote:I have the same problem, the mail doesn't work.
I am using mail settings for a real account we set up just for the bbs.
I am sure it is working as I have tested it with a mail browser.
I have momentarily put down the firewall of the bbs server just in case, but I can't find an indication it is even trying to send out mails.
Any other people having this problem?

Regards,



Solved the problem by replacing /usr/share/java/javamail.jar (which is actually just a link to some file) with the mail.jar inside the jforum installation (you'll of course have to rename mail.jar to javamail.jar)
[originally posted on jforum.net by goldhorse]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

goldhorse wrote:

goldhorse wrote:I have the same problem, the mail doesn't work.
I am using mail settings for a real account we set up just for the bbs.
I am sure it is working as I have tested it with a mail browser.
I have momentarily put down the firewall of the bbs server just in case, but I can't find an indication it is even trying to send out mails.
Any other people having this problem?

Regards,



Solved the problem by replacing /usr/share/java/javamail.jar (which is actually just a link to some file) with the mail.jar inside the jforum installation (you'll of course have to rename mail.jar to javamail.jar)



I managed to get the mail notification to work, but have some glitches.
Not everybody gets the mail.
I am sure that their addresses inside the database is correct as they can get notice mails when they receive Private Messages, only that they cannot receive new post messages.
Checked also My Preference page settings, no problems there.

Did anybody else experience this kind of problem?

Thanks
[originally posted on jforum.net by goldhorse]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you say "they cannot receive new post messages", do you mean New Topics or New Replies to topics or any e-mails?

There are two levels of "watches" in jforum. The first is to watch a specific forum for new topics being posted. This will only e-mail out the initial posting.

The second level is to watch a topic. This will cause e-mails to go out if a reply is posted to this specific topic.

Note that just selecting to watch a forum will NOT get you all posting for this forum... Is this what you are seeing?

One other possibility is that you have set the config options to not send e-mail as part of the posting process. E.g, you're going to send out e-mails using a scheduled "Quartz" job. If you've done this, but not configure the job to run, no notes will be sent.

That's all that come to mind quickly.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
goldhorse - we're experiencing something similar to what you are describing. We've set up our forum so that all the users are automatically subscribed to 3 forums as soon as they create their account. However, even though the accounts are set up exactly the same (I've double-checked this many times), some users do not receive email notifications when new messages are posted in the forum. This has been an ongoing issue that we have not been able to resolve.
[originally posted on jforum.net by clc1023]
 
I'm thinking about a new battle cry. Maybe "Not in the face! Not in the face!" Any thoughts tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic