[SOLVED] Again, email from register.php |
4/30/2008 07:35:59 | |
| PHPRunner General questions | ||
|
R
rainerwolf author
Hello Jane, |
||
|
J
|
Jane 4/30/2008 |
|
Rainer, |
|
|
R
|
rainerwolf author 4/30/2008 |
Rainer, yes, add this code to the generated register.php file. Also you can add this code to the source C:/Program Files/PHPRunner4.2/source/register.php file. In this case you don't need to edit register.php file after each re-build.
|
|
|
J
|
Jane 4/30/2008 |
|
Rainer, //add your code here mail(...,...,$message); |
|
|
R
|
rainerwolf author 4/30/2008 |
Rainer, add this code just before mail() calling:
|
|
|
S
|
spintz 4/30/2008 |
|
look for sendmail_from config option in you php.ini |
|
|
R
|
rainerwolf author 5/1/2008 |
look for sendmail_from config option in you php.ini
|
|
|
R
|
rainerwolf author 5/1/2008 |
|
OK, i did it. I got this result: Von: w0057a22@dd11212.server.com [mailto:w0057a22@dd11212.server.com] Gesendet: Mittwoch, 30. April 2008 17:55 An: rainer.wolf@example.de Betreff: Sie haben sich registriert bei: http://www.findme.de/bewerber/register.php Klicken Sie auf diesen Link um Ihre Registrierung abzuschliessen: http://www.findme.de/bewerber/register.php...mp;u=cmFpbmVyLn dvbfgtAc3doLWhlaWRlci5mbb MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: Birthday Reminder <birthday@example.com> As you see, the from: is correct, but look at: Von: w0057a22@dd11212.server.com [mailto:w0057a22@dd11212.server.com] What can i do for this, because the sender must be birthday@example.com and not w0057a22@dd11212.server.com Hope, you understand me and you have a solution.
|
|
|
S
|
steveh 5/2/2008 |
|
Remember that for certain paramaters you can use ini_set to change them if this helps in the future. |
|