|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is there any way I can specify what the FROM section of the email I send via PHP is supposed to read? Right now, anytime I submit a form through PHP and have an autoresponder sent, the FROM reads my deafult server address. I want to be able to set the FROM to read a name instead. Is there any way to do this???
|
|
#2
|
|||
|
|||
|
You May Use mail($Recipient,$Message,"FROM : youremail@yourserver.com")
This will send the message with youremail@yourserver.com as the senders address. Hope this solves your problem. ------------------ Anish Modi Infotech World India |
|
#3
|
|||
|
|||
|
Thanks amodi,
Your sample fixed the problem! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > FROM section of sending email via PHP?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|