what does this message mean?

Author Message

Alessandro Cipriani

Wednesday 21 July 2004 5:39:57 am

hi all
i'm triyng to send the 3 mails when an user register himself to my site
only 2 mails are sended (the information account to the user and the mail to the administrator), while the activate account email isn't sended to the user

in the debug i get:

Error sending SMTP mail: need MAIL From: first.

in the ezsmpttransport.php file. the code is:

        include_once( "lib/ezutils/classes/ezsmtp.php" );

        $smtp = smtp::connect( $parameters );
        if ( $smtp )
        {
            $result = $smtp->send( $sendData );
            $mailSent = true;
            if ( isset( $smtp->errors[0] ) )
            {
                eZDebug::writeError( "Error sending SMTP mail: " . $smtp->errors[0], "eZSMTPTransport::sendMail()" );
                $mailSent = false;
            }
            $smtp->quit();
        }
        else
            $mailSent = false;
        return $mailSent;

any hint?

best regards
alessandro

Maarten Holland

Thursday 22 July 2004 1:34:33 am

I can only make some guesses:

"Error sending SMTP mail: need MAIL From: first." makes me think perhaps the order in which the e-mail is composed is wrong? (Perhaps first the recipient and then the sender, in stead of the other way around).

Another thing could be that there is no sender in this specific mail?

Alessandro Cipriani

Thursday 22 July 2004 2:14:12 am

thanx
it was an error like you said
i didn't add any sender

thank you
best regards
alessandro

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 20 2025 03:26:44
Script start
Timing: Jan 20 2025 03:26:44
Module start 'layout'
Timing: Jan 20 2025 03:26:44
Module start 'content'
Timing: Jan 20 2025 03:26:45
Module end 'content'
Timing: Jan 20 2025 03:26:45
Script end

Main resources:

Total runtime0.6227 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1563152.6250
Module start 'layout' 0.00550.0027 741.781339.4453
Module start 'content' 0.00820.6131 781.2266506.4609
Module end 'content' 0.62130.0014 1,287.687512.1641
Script end 0.6227  1,299.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5220160.0002
Check MTime0.00130.2110160.0001
Mysql Total
Database connection0.00090.146910.0009
Mysqli_queries0.569491.4319570.0100
Looping result0.00060.0916550.0000
Template Total0.592595.120.2962
Template load0.00210.344820.0011
Template processing0.590394.798220.2952
Template load and register function0.00020.027910.0002
states
state_id_array0.00180.285510.0018
state_identifier_array0.00090.145120.0005
Override
Cache load0.00180.2887260.0001
Sytem overhead
Fetch class attribute can translate value0.00070.108120.0003
Fetch class attribute name0.00160.252340.0004
XML
Image XML parsing0.00260.415120.0013
class_abstraction
Instantiating content class attribute0.00000.001950.0000
General
dbfile0.00320.5091160.0002
String conversion0.00000.001440.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs