Yet another Email Problem

glimmerman72 11 Nov, 2009
With form submission I get the User confirmation but not the posted admin email.

What have I tried?
I have tried to change between different Joomla Send Methods
Made Sure Emails is Enabled, All required Email Fields are there
Used different email addresses on different servers and accounts

Please Help

Yet another Email Problem image 1
Yet another Email Problem image 2
Yet another Email Problem image 3
nml375 11 Nov, 2009
Hi,
This looks alot similar to another recent thread here on the forum. There is no indication in the debug output that any emails are sent at all... Further, there is no "Debug end" message, and since you've got a redirect-url set, you should also see a link such as "Redirect link set, click to test:" followed by the actual url.

Would you be comfortable posting a backup of your form?

/Fredrik
GreyHead 11 Nov, 2009
Hi glimmermann72,

I agree with Fredrik.

One other thing to try is to turn Site Error Reporting to Maximum and see if there is a PHP Error showing from the mailer code somwhere.

Bob
GreyHead 11 Nov, 2009
Hi arhospitality,

Site | Global Configuration | Server | Server Settings | Error Reporting.

You probably don't want to leave it changed for long on a live site as all kinds of odd notices may show up.

Bob
arhospitality 11 Nov, 2009
What would I need to do to expose a PHP Mailer error? I tried resending with debug on and image verification off.
GreyHead 11 Nov, 2009
Hi arhospitaily,

Unfortunately a PHPMailer error may not show up like that. But I don't think this is a PHPMailer error as ChronoForms hould tolerate that and report that the email failed to send. Something is breaking the code before ChronoForms completes :-(

Bob
nml375 11 Nov, 2009
Hi all,
Could you add the following changes to your sites, add the lines in bold as shown:
[list=1]
  • /components/com_chronocontact/libraries/chronoform.php: line 431
    return;
    }
    $MyForm->addDebugMsg('Completed On Submit - Before email code');
    }

  • /components/com_chronocontact/libraries/chronoform.php: line 438
    //send emails
    if(!$MyForm->haltFunction["emails"]){
    $MyForm->addDebugMsg('Sending emails...');
    $emails_result = $MyFormEmails->sendEmails($MyForm, $MyFormEmails->emails);
    $MyForm->addDebugMsg('Emails sent: <br />' . print_r($email_result, true));
    }
    }

  • /components/com_chronocontact/libraries/mails.php: line 94
    foreach($emails as $email){
    $MyForm->addDebugMsg('Loaded email ' . $email->emailid . ($email->enabled == "1" ? '(enabled)':'(disabled)'));
    $MyForm->addDebugMsg('- details: ' . print_r($email, true));

    $email_params = new JParameter($email->params);

  • /components/com_chronocontact/libraries/mails.php: line 100
    $email_body = ob_get_clean();
    $MyForm->addDebugMsg('Email body template generated...');
    //build email template from defined fields and posted fields
    /components/com_chronocontact/libraries/mails.php: line 127
    $this->emailsbodies[] = $email_body;
    $MyForm->addDebugMsg('Email body generated...');
    /**
    * Wrap page code around the html message body
  • [/list:o]

    This should post some extended debug information, and hopefully shed some lights to the issue (posted a slightly different version in arhospitality's other thread, I'll update it to match this one in a sec).

    /Fredrik
    glimmerman72 11 Nov, 2009
    From the extra messages I saw that it got stuck entering plug-ins so I went and dissabled "Confirmation Page" and it now works, there is still some debug error messages but the email now sends and that is all I needed, thank you everyone for your excellent support as always.

    For the record
    After Debug Message changes
    1. Form passed first SPAM check OK
    2. Form passed the submissions limit (if enabled) OK
    3. Form passed the Image verification (if enabled) OK
    4. Form passed the server side validation (if enabled) OK
    5. $_POST Array: Array ( [name] => Shon [phone] => 0399999999 [email] => [email]shonb@itrs.com.au[/email] [comment] => TEST ONLY [chrono_verification] => BEHQx [button_9] => Submit [5c02e7a8dbea14dc11d7f2134223ed88] => 1 [1cf1] => 40d3abccb226d123531a0a8156b577e6 [chronoformname] => ContactForm )
    6. $_FILES Array: Array ( )
    7. Form passed the plugins step (if enabled) OK
    kooris 01 Dec, 2009
    Hi, have you solve the problem, I met the same problem with it.

    1. Form passed first SPAM check OK
    2. Form passed the submissions limit (if enabled) OK
    3. Form passed the Image verification (if enabled) OK
    4. Form passed the server side validation (if enabled) OK
    5. $_POST Array: Array ( [text_1] => test [button_2] => Submit [323b07b84dac4e405131620fb9c3ec84] => 1 [1cf1] => 2a9794377099d516cdab8b9da91ff19a [chronoformname] => DEMO )
    6. $_FILES Array: Array ( )
    7. Form passed the plugins step (if enabled) OK
    8. Debug End

    and i used the joomla contact to sending the e-mail is ok.
    kooris 01 Dec, 2009
    Hi, have you solve the problem, I met the same problem with it.

    1. Form passed first SPAM check OK
    2. Form passed the submissions limit (if enabled) OK
    3. Form passed the Image verification (if enabled) OK
    4. Form passed the server side validation (if enabled) OK
    5. $_POST Array: Array ( [text_1] => test [button_2] => Submit [323b07b84dac4e405131620fb9c3ec84] => 1 [1cf1] => 2a9794377099d516cdab8b9da91ff19a [chronoformname] => DEMO )
    6. $_FILES Array: Array ( )
    7. Form passed the plugins step (if enabled) OK
    8. Debug End

    and i used the joomla contact to sending the e-mail is ok.
    kooris 01 Dec, 2009
    SORRY TO BOTHER all.
    And my problem is very easy to solve but hard to find.

    see the picutres.

    and my suggestion is in the next version, it will mark red if the e-mail is disabled to tell the user this is not complete.

    Chronoform is one of the best extension I've ever seen. If some one can make nice css template, it will be much better for the developer like me not good at design.


    best regards.
    Max_admin 01 Dec, 2009
    Hi kooris,

    Glad you fixed it, the next version should be better, not sure if it will be released before the J1.6 stable or not though!

    Regards
    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    This topic is locked and no more replies can be posted.