|
02-10-2004, 11:37 AM | #1 |
Green Mole
Join Date: Feb 2004
Posts: 3
|
"from" line in email
i'm not a technical person so i apologize if what i'm about to ask is somewhat confusing.
on our local intranet we have a person that use PHP to create forms and other items for us. we have an anniversary page that looks at a database for a hire date and sends the employee an email stating "happy anniversary". the problem is the email is coming from webmaster. this of couse is set up on the server end, my question is...is there a way to make the email appear it is coming from Human Resources without changing it on the server end? can we create a line in the programming that will reflect this. any feedback you have is greatly appreciated. thanks |
02-10-2004, 06:05 PM | #2 | |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
I have a form on my website which sends out e-mail like so:
Quote:
$yoursubject is the e-mail subject line. $emailtext is the body of the e-mail. $email is the sender, so you could set that to the Human Resources e-mail address if you wanted to. You can find out more about how the PHP mail function works here. Hope this helps. |
|
06-29-2004, 01:34 PM | #3 |
Green Mole
Join Date: Jan 2004
Location: Italy
Posts: 11
|
hi all,
actually when you send an email (like in the example of vinyl junkie) the last argument is a string containing additional headers. This let you control a lot of funny things... such as mime, extra headers, reply to fields, priority.... Hope helps Simone Capra http://www.erweb.it |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
search.php suddenly stops parsing during "extract vars" | jackmoring | Troubleshooting | 1 | 08-25-2006 12:27 PM |
shows blank page if "Search All" and "exact phrase", timeout? | alokjain9 | Troubleshooting | 2 | 03-07-2006 08:08 AM |
"search depth" and "links per" features | laurentxav | How-to Forum | 1 | 01-12-2005 08:27 PM |
Command line spider ignoring "filelist.txt" | lighthouse | Troubleshooting | 9 | 08-18-2004 08:35 AM |