Previous Thread
Next Thread
Print Thread
Hop To
#179264 02/23/2007 3:15 PM
Joined: Jan 2007
Posts: 21
J
stranger
stranger
J Offline
Joined: Jan 2007
Posts: 21
Hi,
The email does not work in our new setup. Phpinfo shows that the sendmail_path has no value and when I contacted our Isp I was told that they do not support sendmail but that instead I should use c:\perl\bin\blat.exe for the path.
Where can I make this change?
Phpinfo also tells me that "Internal Sendmail Support for Windows" is enabled. I'm not sure what this means though.
Thank you,
John

johnH #179268 02/23/2007 3:52 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
if you're on a Windows server you want the following part filled out

[mail function]
; For Win32 only.
SMTP = mail.someserver.com
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com


Put the return email address that you want to use in the from, then the SMTP server that you're supposed to use in there. Might be localhost or a FQDN. Uncomment them, then make sure the UNIX path value that you're looking at is commented out with a semi colon


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
David Dreezer #179270 02/23/2007 4:25 PM
Joined: Jan 2007
Posts: 21
J
stranger
stranger
J Offline
Joined: Jan 2007
Posts: 21
I'm new at this, can you please tell me where can I make these changes?

johnH #179274 02/23/2007 6:08 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Oh, sorry. It's in your php.ini. Now, where that would be located on your server I couldn't tell you. I've seen it in c:\ but that isn't the only place it could be. Your phpinfo would actually give you the path for your php.ini config file. If not then your web host would be the only one to know.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
David Dreezer #179282 02/23/2007 6:48 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I've seen it in:
c:\
c:\windows\
c:\windows\system32\
c:\php\

It can truely be anywhere the people who set it up specified it to hide.


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, Scouters World
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!
Gizmo #179507 02/26/2007 11:25 AM
Joined: Jan 2007
Posts: 21
J
stranger
stranger
J Offline
Joined: Jan 2007
Posts: 21
Thanks but I found out this weekend that my Isp will not allow changes to the php.ini file. They suggest that I use ini_set to fix the problem.
Where would I make this change?

johnH #179644 02/28/2007 3:39 PM
Joined: Jan 2007
Posts: 21
J
stranger
stranger
J Offline
Joined: Jan 2007
Posts: 21
I'm just curious, is this a dumb question or do I have a problem that has no real solution?

johnH #179650 02/28/2007 5:01 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
I'd imagine there is a solution. I don't know the answer to the ini_set questions. I'm also not quite sure why your host woul dnot fill out thier php.ini properly.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
David Dreezer #179661 02/28/2007 5:26 PM
Joined: Jun 2006
Posts: 464
Likes: 1
M
Addict
Addict
M Offline
Joined: Jun 2006
Posts: 464
Likes: 1
Primary settings .. Advanced options you can put any SMTP server in there. Find a mail server you can use and put that smtp setting in there.


Happy Customer !!!
David Dreezer #179662 02/28/2007 5:26 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If you're upgraded to 7.1, then in the Primary -> Advanced Settings you can specify an SMTP server to use to sendmail through if that will work.

Rick #179663 02/28/2007 5:27 PM
Joined: Jun 2006
Posts: 464
Likes: 1
M
Addict
Addict
M Offline
Joined: Jun 2006
Posts: 464
Likes: 1
Beat you to it rick laugh


Happy Customer !!!
Mors #179675 02/28/2007 6:28 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
You both beat me. I'm still installing a new one so I can answer the questions. Guess I can scrap that idea.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Rick #179688 02/28/2007 8:46 PM
Joined: Jan 2007
Posts: 21
J
stranger
stranger
J Offline
Joined: Jan 2007
Posts: 21
Thanks but I just upgraded to 7.0.2 and I'm a little hesitant to upgrade again so soon. So do you think that if I added the ini_set to ubbthreads.php it would do the trick or does it also have to be added to other pages? Is upgrading the only way to go?

johnH #179690 02/28/2007 8:51 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If you can figure out the exact ini_set that you need then you could add it to the main ubbthreads.php file as that is called for all front end scripts. You'd also need to add it to the libs/admin.inc.php file so emails are sent from the admin area properly.

Rick #179695 02/28/2007 9:30 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
John, why so hesitant to upgrade to the latest version, if you don't mind my asking? I find upgrades to be quick and painless, but I've done so many thousands of them over the years I don't always see the same thing you see anymore. Why the hesitation to update?


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Rick #179709 02/28/2007 11:18 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I think there is a place to override the sendmail path IN the phpmailer class itself.


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, Scouters World
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!
Gizmo #179761 03/01/2007 12:13 PM
Joined: Jan 2007
Posts: 21
J
stranger
stranger
J Offline
Joined: Jan 2007
Posts: 21
David, I guess it's because I'm still new at this and I expect the worst. Mind you, the update that I just did worked like a charm but...
Anyway thanks to all, adding the ini_set to ubbthreads.php and admin.inc.php worked. I have email.

johnH #179776 03/01/2007 3:11 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Good news smile


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
David Dreezer #179919 03/03/2007 11:43 AM
Joined: Mar 2007
Posts: 26
A
journeyman
journeyman
A Offline
Joined: Mar 2007
Posts: 26
Just so others can learn from my experience: make sure to have a firewall rule to allow outbound to the SMTP relay that you specify. Fortunately, I thought to look there before posting here.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 718 guests, and 210 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)