Zend_Mail module for SMTP transport mode broken

osolabs - April 5, 2008 - 21:35
Project:Zend Framework
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:osolabs
Status:needs review
Description

Hello,

I am a new Drupal user and I hope I'm submitting the error to the right place.

I set up zend_mail to use SMTP and not sendmail.

When I use the contact form, I am getting the following error message:

Fatal error: Call to undefined method Zend_Mail_Transport_Smtp::connect() in /<my www path>/modules/zend/zend_mail/zend_mail.inc on line 19

I am using the latest Zend Framework Module version 6.x-1.x-dev and using Zend Framework version 1.5.1

I don't think there is a connect/disconnect method available in Zend_Mail_Transport_Smtp in the new framework, or am i wrong?

However, I got around it with a quick fix, please see attached file.

You can replace it with your old zend_mail.inc for a quick fix =)

Thanks,
osolabs

AttachmentSize
zend_mail.zip619 bytes

#1

osolabs - April 7, 2008 - 04:41
Priority:critical» normal
Status:active» needs review

Hello,

I am a new Drupal user and I hope I'm submitting the error to the right place.

I set up zend_mail to use SMTP and not sendmail.

When I use the contact form, I am getting the following error message:

Fatal error: Call to undefined method Zend_Mail_Transport_Smtp::connect() in //modules/zend/zend_mail/zend_mail.inc on line 19

I am using the latest Zend Framework Module version 6.x-1.x-dev and using Zend Framework version 1.5.1

I don't think there is a connect/disconnect method available in Zend_Mail_Transport_Smtp in the new framework, or am i wrong?

However, I got around it with a quick fix, please see attached file.

You can replace it with your old zend_mail.inc for a quick fix =)

Thanks,
osolabs

#2

Rob Loach - April 7, 2008 - 20:56

Hello! Thanks for the bug report. Does the Zend Framework module report that it is installed correctly?

#3

jean-bernard.addor - October 27, 2008 - 21:00

I observed similar behavior with
Zend Framework 6.x-1.x-dev (2008-juin-02)
Zend Framework 1.6.2 (reported to be installed correctly in admin/reports/status)
i have not tried the patch

#4

wildtang3nt - April 10, 2009 - 06:30

This is still broken. Can't send emails with SMTP at all.

 
 

Drupal is a registered trademark of Dries Buytaert.