This topic is locked

Fron e-mail in security not taking effect

2/5/2008 5:21:45 AM
PHPRunner General questions
J
Jepsen author

In the security tab you are setting the "From email" address when you have selected the registration and forgotten passworsd options.
Yhe supplied from e-mail is stored in dbcommon.php.
However, the setting is not having any effect. The from e-mail "from" becomes some default apache email set up on the server, but the e-mail is sent ok.
When making e-mail in the events tab and setting from e.mail up there, it works ok.
It appears that there some kind of bug in remind.php and login.php.
Same thing happens in both 4.1 and 4.2b. I think i can recall thar there was also a problem with this in 3.x, but now I have a client requesting that this is right.
What do I do?
Best regards

Morten B Jepsen

X
xliner 2/5/2008

Morten,
I understand your lines are streamlining with what could be read under:
http://www.asprunner.com/forums/index.php?showtopic=6481
HTH Hajo

J
Jane 2/5/2008

Morten,
"From" email address is dependent on PHP settings and OS settings of your server.
As workaround you can add From parameter to the mail function manually in the generated files.

J
Jepsen author 2/5/2008

Morten,

"From" email address is dependent on PHP settings and OS settings of your server.
As workaround you can add From parameter to the mail function manually in the generated files.


Jane and hajo
Thanks for prompt reply.

Sorry for not finding this related subject prior to asking.
Jane, my manual settings are changed everytime i change / regenerate. Consequently, I should change this in the template files. And a global variable with the "from e-mail" name is generated in dbcommon.PHP.
Could you be kind ad direct me to exactly where I should change something in the templates ?
Best regards

Morten Jepsen