Recent Topics

1 Feb 02, 2010 08:15    

Short version of my story: I've been playing with the mail sender plugin, to get it to a point where there is authentication on the mail sent out. Figured out another way, that's much easier than php-dkim. Using the Php Pear::mail module. Now I don't know what's wrong because the mailer works outside of the application. When combined with the plugin (the evocore framework) it returns this php error:

2010/02/02 01:53:53 [error] 14191#0: *1608007 FastCGI sent in stderr: "PHP Parse error:  syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/folder/ on line 77" while reading response header from upstream

From this you can see that line 77 is the prble. This is what is there:

$smtp = Mail::factory('smtp',
  array ('host' => $host,
    'auth' => true,
    'username' => $username,
    'password' => $password));

Since I put the absolute path to the mail.php here: (line 14)

require_once "/usr/share/pear/Mail.php";

what might the problem be. maybe i'm just looking at it the wrong way. anyone have an ideas?[/code]

Form is loading...

b2evo – This forum is powered by b2evolution CMS, a complete engine for your website.