These forums are read-only and for archival purposes only!
Please join our new forums at
Sending mail using Zend_Mail
  • HI i'm currently working on how to send email using zend framework, i'm currently new to frameworking just studied it and i want to incorporate zend's email to kohana.

    i already put this code on my application/bootstrap.php

    if ($path = Kohana::find_file('vendor', 'Zend/Loader')) { ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.dirname(dirname($path))); require_once 'Zend/Loader/Autoloader.php'; Zend_Loader_Autoloader::getInstance(); }

    then on my model i put this just checking if it found the zend library

    $mailer = new Zend_Mail;

    i get an error

    class Zend_Mail not found

    did i do something wrong?? please help

    i already put zend in my application/vendor/zend

  • I recommend looking at the Kohana-Zend module or use my email module (based on SwiftMailer).

  • Thank YOu soo much You are a life saver :) good luck and God bless always

  • I have used Swiftmailer as @shadowhand mentioned. In my localhost it sends via smtp and on the server native php mailer. It rocks. Thanks.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion