Results 1 to 4 of 4

Thread: Zend_Mail help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    10

    Default

    Hi vshare2,

    Thank you so much for your reply! I really appreciate it. :-)

    I do have one more question: Do you know how I could pass the login credentials for Authenticated SMTP?

    Thank You.

  2. #2
    Join Date
    Feb 2011
    Posts
    10

    Default

    Actually I just figured it out.

    I needed to add one extra line to your code for authenticated SMTP (highlighted in red):
    Code:
            Zend_Loader::loadClass('Zend_Mail');
            Zend_Loader::loadClass('Zend_Mail_Transport_Smtp');
            $config = array('ssl' => 'tls', 'port' => 587, 'auth' => 'login', 'username' => '[email protected]', 'password' => '123abc');
            $tr = new Zend_Mail_Transport_Smtp('smtp.domain.com', $config);
    Thank you so much for your help! This is resolved now.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •