Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
Sendmail is not working and notification are not going out via email (new users, PM users, watched posted etc). What file contains the path to sendmail? Has any one has this email notification problem.

Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Yeah, this really should probably be in the Control Panel.
Here's what I found, hopefully that's all you need to change:

Line 115 in:

/libs/phpmailer/class.phpmailer.php

var $Sendmail = "/usr/sbin/sendmail";


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
thanks jgeoff. I found it. It was wrong. I replaced it but it is still not working. The php test in the Control panel said the send mail path is /usr/sbin/sendmail -t -i now I used just /usr/sbin/sendmail. Should I add the -t -i ?

Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Mine works w/o adding -t -i just fine, and I'm not even sure you can add that to the path. Seems that's not the problem if your path, and the path in the file, are both /usr/sbin/sendmail

Question: Did it work previously, with whatever version you are using now, or a previous version?

I'll try to think of other possibilities, unless someone else can help.


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Specifying the path to the application is commmon as most servers don't have their sbin in their "path".

As for specifying -t, I'd add it IF the normal code shows it, as it scans the to: cc: and bcc: lines for addresses to send users (as bcc is how you mail numerous users without them all seeing eachothers email addresses).

As for -i i'm not sure what it's for, but again if it's in the ubb already i'd say to leave it...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (Gizmo), 156 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)