Re: PEAR mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marc Serra wrote:
$hdrs = array(
"From" => "adresse1@xxxxxxxx", "Cc" => "adresse2@xxxxxxxx"
"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@xxxxxxxx",
        "Cc" => "adresse2@xxxxxxxx",
        "Subject" => "Tests"
);

--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com

---------------------------------------------------
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux