|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hello
I'm tring a solution for a problem that I not sure if the solution is about PHP or Apache or Linux or something else ![]() I have a little PHP script that mail to anyone. It is working fine. But if the destination addr has a problem, I do not receive a reply from the destination server. This reply arrives at the ISP and I don't receive any kind of notification. The web server is an Apache/1.3.9 Server running at a Linux system and the PHP is Version 3.0.12 Any help on this problem would be greatly appreciated. Rui Torres |
|
#2
|
|||
|
|||
|
Definitely sounds like a php issue.
first, to get a simple return for bad emails, make sure you have your From and Reply mail headers set. $headers = "From: me@here.comn"; $headers .= "Reply-To: me@here.comn"; If that doesn't work, check out the PHP discussion, there are some samples there that show you how to check for valid email addresses before the form is submitted. |
|
#3
|
|||
|
|||
|
Hi aarongb
This message are there at PHP forum and at Apache too. The script is: <?php $Msg = "This is a test of the PHP email routinenn"; $Msg .= "If the destination addr is unknow this email must returnnn"; $Msg .= "to the addr at Reply-To parameter nn"; $Subject = "PHP Email Test"; $AddrTo = "unknowuser@xptokkyytt.com"; $Others = "Return-Path: <adm@superencontros.com.br>n"; $Others .= "Reply-To: <adm@superencontros.com.br>n"; $Others .= "From: "PHP Email Test" <adm@superencontros.com.br>n"; mail($AddrTo,$Subject,$Msg,$Others); ?> Thanks in advance, Rui Torres |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > User Unknow !! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|