Topic awaiting preservation: PHP mail function on Dreamhost |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 12-26-2001 21:28
Anybody here with an account at Dreamhost that's used PHP's mail function. I'm not quite sure how to set the headers so that the mail gets sent as something besides Unknown Sender. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-26-2001 23:12
using the generic mail function you have some options as the last argument you can make this arg ,"From: Whoever" and it should do what you are looking for. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 12-26-2001 23:43
Also, the Reply-To: header is useful if you want to say something like "From: Feedback Form", but still be able to reply to an address that was entered into the form.... |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 12-27-2001 02:03
Thanks guys, but I'm not sure what you mean when you say generic mail function Bitdamaged. Here's the code I'm using |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-27-2001 02:42
That's the one. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 12-27-2001 03:31
Thanks Bitdamaged! |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 12-27-2001 09:37 |