This topic is locked

User Login Settings

5/6/2008 12:40:26
PHPRunner General questions
C
cglaeser author

In the User Login Settings dialog box, the "From" email address field does not seem to have any affect. For example, I can set this field to noreply@mydomain.com, but the login confirmation and login reminder messages do not include the desired from address. Do I need to set something else?
Best,

Christopher

J
Jane 5/7/2008
C
cglaeser author 5/7/2008

Christopher,

please check this thread:

http://www.asprunner.com/forums/index.php?...mode=linearplus


Thanks Jane. I modified both register.php and remind.php and it is working.
Has this defect been put on the PHPRunner todo list for the next release?
Best,

Christopher

C
cglaeser author 5/7/2008

One more question. My "From" string is hard coded in the register.php and remind.php files. Is the "From" field in the security dialog available during the build of output/register.php? If so, what is the name of the variable? In other words, what is the code fragment that should have been included in source/register.php?
Best,

Christopher

J
Jane 5/8/2008

Christopher,
we'll fix this issue in the next version.

From email address entered on th Security tab in the PHPRunner is stored in the $cFrom variable in the include/dbcommon.php file.

C
cglaeser author 5/8/2008

is stored in the $cFrom variable in the include/dbcommon.php file.


Many thanks. Can you please post the three lines of php code that will be included in the next release of register.php. The code snippets that were posted in previous threads were all hard coded email addresses, and did not include a #if_def to determine if the From address was set. Thanks in advance for your assistance.
Best,

Christopher