Re: PEAR mail

From: Date: Mon, 08 Nov 2004 14:55:13 +0000
Subject: Re: PEAR mail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201533@lists.php.net to get a copy of this message
Marc Serra wrote:
$hdrs = array(
                   "From"    => "adresse1@test.com",                                      "Cc" => "adresse2@test.com"
                   "Subject" => "Tests"
                   );
In your $hdrs array, you're missing a comma separating Cc from Subject. That's probably causing the problem. It should be: $hdrs = array(
        "From" => "adresse1@test.com",
        "Cc" => "adresse2@test.com",
        "Subject" => "Tests"
); -- Ben Ramsey Zend Certified Engineer http://benramsey.com --------------------------------------------------- Atlanta PHP - http://www.atlphp.org/ The Southeast's premier PHP community. ---------------------------------------------------

« previous php.general (#201533) next »