Can anyone tell me if there were problems in older versions of WebLoginPE that resulted in no emails getting sent for forgotten passwords? Here’s the situation I’ve got.
I have two sites on the same host (bluehost). Each is using WebLoginPE to handle logins. In the case of site #1, if there is no php.ini file in the root directory and the cpanel php settings are set accordingly, the emails are sent with the "from" field set to something of the form of
[email protected]
If I change the php settings in cpanel accordingly and put a php.ini file in the root that looks like this :
[mail function]
sendmail_path = /usr/sbin/sendmail -t -i -nYourCompanyName
zend_extension=/usr/lib64/php/modules/ioncube_loader_lin.so
zend_extension=/usr/lib64/php/modules/ixed.lin
zend_extension=/usr/lib64/php/modules/ZendOptimizer.so
I get a "from" field that looks something like "Matt’s Company".
So far so good. The problem is with site #2
If I go through all the same steps, I can get an email with the first (not preferred) "from" type address by not using a php.ini file. But if I put a php.ini file in (as
in the second instance above), I get *no* email.
Complicating things, a contact form on site 2 using eform does generate an email. And
putting site 2’s version of WLPE on site 1 also generates an email.
Can anyone suggest what might be going on here? I’m kinda stumped and am thinking the problem/solution might be somewhere I haven’t thought to look. (Path differences aside,
the .htaccess files are the same).
Alternatively, if anyone can tell me another way to force the "From" field to be a certain value - rather than dealing with it in php.ini - I’d be appreciative. I’ve got a feeling I’m overlooking something very obvious.
TIA,
Matt