|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am a newbie and I'm writing a application as a feedback database. The user submits his name e-mail etc. into a form and thenit stores it. I want to be able to send a sort of thank-you message after they fill in the form. How could I do that?
|
|
#2
|
|||
|
|||
|
Read about the mail() function in the manual
|
|
#3
|
|||
|
|||
|
you need to use the mail() function as follows:
mail ("to", "subject", "message"); Lets say your user enters their email in a form field named "Email". You would then write the mail function as: mail ("$Email", "subject", "message"); Thats just a basic start, there's much more you can do by adding headers and such. |
|
#4
|
|||
|
|||
|
Thanks, that was like the only thing not coverd in my PHP3 book. That'l do
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Automatic mail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|