J
|
Jane 10/11/2007 |
Greg, ... // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n"; $headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n"; mail($to, $subject, $message, $headers); |
G
|
gawde author 10/11/2007 |
Greg, try to add from parameter to the mail function. Here is a sample: |
G
|
gawde author 10/11/2007 |
Greg, try to add from parameter to the mail function. Here is a sample:
|
N
|
nicolagrimshaw 1/29/2008 |
Thanks Jane. I added the $headers to the email function in registration.php and that did the trick. I am curious however, where is the "From" email address, input on the PHPRunner Security page, used?
|
R
|
rainerwolf 4/5/2008 |
Greg, try to add from parameter to the mail function. Here is a sample:
|
J
|
Jane 4/7/2008 |
Rainer, |
R
|
rainerwolf 4/29/2008 |
Thanks Jane. I added the $headers to the email function in registration.php and that did the trick. I am curious however, where is the "From" email address, input on the PHPRunner Security page, used?
|
M
|
mmponline 5/13/2008 |
I also need to know where to place $headers snippet. Does not work in after successful registration. |
J
|
Jane 5/13/2008 |
Hi, |