Re: PHP mail
- From: Charles Calvert <cbciv@xxxxxxxxx>
- Date: Thu, 30 Oct 2008 23:15:49 -0400
On Thu, 30 Oct 2008 02:28:12 -0700 (PDT), lak <lakindia89@xxxxxxxxx>
wrote in
<54776a39-c472-43b6-8672-850b258b42a3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>:
I send a mail by using the PHP functions.
I want to find whether the message is send by the original user or
some one send the message in another name.
For example:
In the PHP mail function I specified the from address as some other
user name.
How can I find, whether that user sends the mail or it is send by some
other user using PHP script
How can we check that.
You can't in any absolute sense. Any header that isn't added by the
receiving mail server can be forged, absent verifiable cryptographic
signing of the headers.
At best you might be able to check the X-Mailer header to see if it's
a known client, but that won't always be present even in messages sent
by a human and it can be easily added to a message sent by a script.
--
Charles Calvert | Web-site Design/Development
Celtic Wolf, Inc. | Software Design/Development
http://www.celticwolf.com/ | Data Conversion
(703) 580-0210 | Project Management
.
- References:
- PHP mail
- From: lak
- PHP mail
- Prev by Date: Re: Run a SQL query based on HTML drop down selection?
- Next by Date: Re: A question about UDP packet receive
- Previous by thread: Re: PHP mail
- Next by thread: levenshtein for large strings
- Index(es):
Relevant Pages
|