Re: PHP mail



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
.



Relevant Pages

  • Re: PHP mail
    ... I want to find whether the message is send by the original user or ... In the PHP mail function I specified the from address as some other ... other user using PHP script ...
    (comp.lang.php)
  • Re: Strategy for Secure File Storage
    ... way of copying the files over to a temporary directory for access, ... done with PATH_INFO or mod-rewrite in Apache (just google this for examples. ... You PHP script will then check the access credentials of the user (e.g. ... google) before issuing a Content-Type header with the correct mime type ...
    (php.general)
  • Re: hiding / replace To: email addresses ...
    ... how to hide or replace email addresses in php mail function ... and when i get email all addresses are shown in header To: ... You are on the right lines, Bcc is the thing to use and it does go in the ... included the body of the bcc list, as the first parameter of mail ...
    (comp.lang.php)
  • Re: hiding / replace To: email addresses ...
    ... how to hide or replace email addresses in php mail function ... and when i get email all addresses are shown in header To: ... You are on the right lines, Bcc is the thing to use and it does go in the ... as first parameter to mail? ...
    (comp.lang.php)
  • Re: Setting up a page that will intercept all pages that do not already exist?
    ... >a PHP script will issue a 404 header to the browser, ... error code back to the user agent. ... status code in the response header). ...
    (comp.lang.php)