|
Joined: Jan 2007
Posts: 21
stranger
|
stranger
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
|
|
|
|
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
|
|
|
|
Joined: Jan 2007
Posts: 21
stranger
|
stranger
Joined: Jan 2007
Posts: 21 |
I'm new at this, can you please tell me where can I make these changes?
|
|
|
|
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.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
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.
|
|
|
|
Joined: Jan 2007
Posts: 21
stranger
|
stranger
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?
|
|
|
|
Joined: Jan 2007
Posts: 21
stranger
|
stranger
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?
|
|
|
|
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.
|
|
|
|
Joined: Jun 2006
Posts: 464 Likes: 1
Addict
|
Addict
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 !!!
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
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.
|
|
|
|
Joined: Jun 2006
Posts: 464 Likes: 1
Addict
|
Addict
Joined: Jun 2006
Posts: 464 Likes: 1 |
Beat you to it rick
Happy Customer !!!
|
|
|
|
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.
|
|
|
|
Joined: Jan 2007
Posts: 21
stranger
|
stranger
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?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
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.
|
|
|
|
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?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I think there is a place to override the sendmail path IN the phpmailer class itself.
|
|
|
|
Joined: Jan 2007
Posts: 21
stranger
|
stranger
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.
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
Good news
|
|
|
|
Joined: Mar 2007
Posts: 26
journeyman
|
journeyman
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.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Nightcrawler),
718
guests, and
210
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|