eZ Publish cannot send mail after upgrade

Author Message

Christian Johansen

Wednesday 06 December 2006 10:48:08 pm

I just did an upgrade from eZ 3.8.1 to 3.8.6 and now it can no longer send emails! I keep getting these:

[ Dec 07 2006 07:41:56 ] [my.ip] eZSMTPTransport::sendMail():
Error sending SMTP mail: 5.0.0 Need MAIL before RCPT

I have checked my email configuration:

override/site.ini.append.php:

[MailSettings]
Transport=SMTP
TransportServer=my.smtp.server
TransportUser=myuser
TransportPassword=mypass
AdminEmail=me@mydomain.com
EmailSender=me@mydomain.com

I have verified that those settings are being used through the admin interface. The old site is running side by side and is sending emails with no problems. I have not changed my email configuration in the 3.8.6 version. What's happening?

Bartek Modzelewski

Thursday 07 December 2006 4:48:40 am

Hello Christian

Perhaps your problem is related to bug introduced in 3.8.4 version in ezsmtptransport.php class. Take a look here: http://ez.no/content/view/full/110255

Baobaz
http://www.baobaz.com

Christian Johansen

Thursday 07 December 2006 5:28:08 am

Thanks, that quick fix got me on my feet again.

Kristof Coomans

Thursday 07 December 2006 6:39:37 am

For newer info on the bug, see http://issues.ez.no/9030

Apparently not all url's are redirected properly to the new bug system.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:17:04
Script start
Timing: Jan 18 2025 19:17:04
Module start 'layout'
Timing: Jan 18 2025 19:17:04
Module start 'content'
Timing: Jan 18 2025 19:17:05
Module end 'content'
Timing: Jan 18 2025 19:17:05
Script end

Main resources:

Total runtime0.7810 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 589.1797152.6406
Module start 'layout' 0.00810.0035 741.820339.4766
Module start 'content' 0.01160.7680 781.2969574.6406
Module end 'content' 0.77960.0014 1,355.937512.1250
Script end 0.7810  1,368.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4973160.0002
Check MTime0.00140.1735160.0001
Mysql Total
Database connection0.00080.096910.0008
Mysqli_queries0.730593.5367620.0118
Looping result0.00060.0742600.0000
Template Total0.747295.720.3736
Template load0.00230.293320.0011
Template processing0.744995.375120.3724
Template load and register function0.00020.030510.0002
states
state_id_array0.00080.101710.0008
state_identifier_array0.00130.163820.0006
Override
Cache load0.00190.2475170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.090830.0002
Fetch class attribute name0.00120.155450.0002
XML
Image XML parsing0.00080.096230.0003
class_abstraction
Instantiating content class attribute0.00000.001450.0000
General
dbfile0.00090.1109160.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs