Revision 889
Added by aldus almost 17 years ago
| view.php | ||
|---|---|---|
| 390 | 390 |
echo $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS']; |
| 391 | 391 |
$success = false; |
| 392 | 392 |
} else {
|
| 393 |
// Now send the email |
|
| 393 |
/** |
|
| 394 |
* Adding the IP to the body and try to send the email |
|
| 395 |
*/ |
|
| 396 |
$email_body .= "\n\nIP: ".$_SERVER['REMOTE_ADDR']; |
|
| 397 |
|
|
| 394 | 398 |
if($email_to != '') {
|
| 395 | 399 |
if($email_from != '') {
|
| 396 | 400 |
if($wb->mail($email_from,$email_to,$email_subject,$email_body,$email_fromname)) {
|
Also available in: Unified diff
Tcket #610: add the IP-Address to the EMail-Body in the Form-Modul