|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11051 mail function dosn't work
Submitted: 2001-05-23 07:56 UTC Modified: 2001-06-12 17:34 UTC
From: tibor dot szaraz at allasajanlat dot hu Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.5 OS: UNIX
Private report: No CVE-ID: None
 [2001-05-23 07:56 UTC] tibor dot szaraz at allasajanlat dot hu
Hello Dear Support Team,

I have got this php code on

  $IMPemail = "";
  $EncryptIMPemail = crypt (crypt(chop($IMPemail), "h3"), "Oi");
  $uzenet = crypt (crypt(chop($IMPemail), "h3"), "Oi");
mail("", "T?ma", $uzenet,
     "From: webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/" . phpversion());
  Header(  "Location:  ./index.php");

but unfortunately it doesn't send any mail to

You can try it by

What is wrong with it?

Thank you for your help in advance

Best Regards
  Tibor Szaraz


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-23 10:36 UTC]
More information required: Does any email get sent? Do you have a syslog entry for the mail?

I cannot workout which part of your site (linked) results in an email being sent (cannot understand =)
 [2001-06-12 17:34 UTC]
No feedback, can't reproduce.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 28 10:03:33 2021 UTC