try this
App::import('vendor', 'PHPMailer', array('file' =>
'phpMailer/class.phpmailer.php'));


On Wed, Mar 25, 2009 at 6:54 PM, captain_geek <[email protected]> wrote:
>
> I was following an older post about integrating PHPMailer into CakePHP
> and the first porting problem I ran into was that the component used
> vendor() instead of the new 1.2 format ...
>
> But then when I changed the line to:
>        App::import('Vendor','phpmailer'.DS.'class.phpmailer');
> it still wouldn't work, kept throwing an error about PHPMailer class
> not existing ...
>
> Then I setup this instead:
>        include('../../vendors/phpmailer/class.phpmailer.php');
>
> Well ... it works ... but doesn't feel like the correct way to me and
> according to the docs the first way should have worked ...
>
> Anyone ran into something like this?
>
> (Yes, I am using the 8120 release)
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to