|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
PHP mail() question - I think
I have a PHP routine that sends out a mail message upon completion of a form. It works fine but....
If someone enters a non-existent email address (like badaddress@yahoo.com) it would seem to me that a bounce message would go to the FROM: address but it doesn't. Could someone explain why not or better still, how can it be made to do so? It would help screen bad applications. Here's the code: <? $EMailText = "Thank you for applying for membership with us (blah blah) $FromId = "From: admin@mydomain.org"; $EMailSubject = "Your Application Received"; mail( $jf_email, $EMailSubject, $EMailText, $FromId ); # $jf_email is the applicant's address pulled from mySQL. ?> |
|
#2
|
|||
|
|||
|
You need to send the return path in the headers:
PHP Code:
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > PHP mail() question - I think |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|