SOLVED Re: [PHP] Variable Scope problem passing function parameters
| From: | Jim McIntyre | Date: | Thu, 18 Dec 2008 19:32:09 +0000 |
| Subject: | SOLVED Re: [PHP] Variable Scope problem passing function parameters | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284807@lists.php.net to get a copy of this message | ||
Jim McIntyre wrote:
metastable wrote:Never mind - I found the problem. It was a lowly typo. Ugh. -JimJim McIntyre wrote:$phpMail = new PHPMailer(); $phpMail->From = $from; $phpMail->AddAddress($this->to); $phpMail->Subject = $subject; $phpMail->Body = $body; return $phpMail->Send();