Forums

Cannot send email

guill9710 02 Oct, 2018
Hi Admin,

i cannot seem to send emails after submitting the form. my settings seems to be fine, my Joomla is set to allow sending emails from the Global Configuration.
the debugger displays this:
Array
(
    [chronoform] => order-5day
    [event] => submit
    [first_name] => Guill
    [last_name] => Peterson
    [contact_number] => 0426321548
    [email] => gpeterson999@gmail.com
    [current_drivers_licence_language] => English
    [file9] => attackdetectedcomau.jpg
    [file10] => attackdetectedcom.jpg
    [secicon15] => 5bb303d4bc5cf
    [stripeToken] => tok_1DGgaT2eZvKYlo2CCd3AsZeF
    [stripeTokenType] => card
    [stripeEmail] => gpeterson999@gmail.com
    [_ga] => GA1.3.1368898651.1538438582
    [_gid] => GA1.3.1706522432.1538438582
    [16b2378a8e834de239acde194bff0517] => vs4alser0tdejep5phog7ocbg6
    [9594b1e184b875d6120b669169400ec4] => 9n3l2q0alqkmsnoi3coqnsm7a1
    [Itemid] => 298
    [option] => com_chronoforms6
    [view] => form
)
Array
(
    [validate_fields2] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

    [email4] => Array
        (
            [recipients] => Array
                (
                    [0] => request@driverslicencetranslation.com.au
                )

            [subject] => Driver's Licence Translation
            [body] => 
<table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"><tr><td width="30%" valign="top" align="right"><strong>First Name</strong></td><td width="70%" valign="top" align="left">Guill</td></tr><tr><td width="30%" valign="top" align="right"><strong>Last Name</strong></td><td width="70%" valign="top" align="left">Peterson</td></tr><tr><td width="30%" valign="top" align="right"><strong>Contact Number</strong></td><td width="70%" valign="top" align="left">0426321548</td></tr><tr><td width="30%" valign="top" align="right"><strong>Email</strong></td><td width="70%" valign="top" align="left">gpeterson999@gmail.com</td></tr><tr><td width="30%" valign="top" align="right"><strong>Current Driver's Licence Language</strong></td><td width="70%" valign="top" align="left">English</td></tr><tr><td width="30%" valign="top" align="right"><strong>Front</strong></td><td width="70%" valign="top" align="left">attackdetectedcomau.jpg</td></tr><tr><td width="30%" valign="top" align="right"><strong>Back</strong></td><td width="70%" valign="top" align="left">attackdetectedcom.jpg</td></tr></table>
            [files] => Array
                (
                    [0] => file9:jpg,jpeg,png,pdf
                    [1] => file10:jpg,jpeg,png,pdf
                )

            [from_name] => 
            [from_email] => order@driverslicencetranslation.com.au
            [result] => the Mail could not be sent.
            [var] => 
        )

)
my domain is driverslicencetranslation.com.au and i created 2 working emails, one set "from email" and one set to "to email":
order@driverslicencetranslation.com.au
request@driverslicencetranslation.com.au
i also attached images of my form settings.
can you please help?
thank you.[file=11031]email_settings_1.JPG[/file]
​[file=11032]email_settings_2.JPG[/file]
GreyHead 03 Oct, 2018
1 Likes
Hi guill9710,

There is no From Name showing in the Debugger output - if that is left empty the email will fail.

Bob
healyhatman 03 Oct, 2018
What Bob said.

Also, you don't have to actually create the email addresses you're sending "from".
guill9710 04 Oct, 2018
Hi, thanks for your responses.

i added the from name but still not sending the email.

Array
(
    [chronoform] => order-5day
    [event] => submit
    [first_name] => Guill
    [last_name] => Peterson
    [contact_number] => 0426321458
    [email] => gpeterson10@gmail.com
    [current_drivers_licence_language] => French
    [file9] => img004.jpg
    [file10] => img008.jpg
    [secicon15] => 5bb5b6354dcfb
    [stripeToken] => tok_1DHQYb2eZvKYlo2Ci8vhjJlD
    [stripeTokenType] => card
    [stripeEmail] => gpeterson10@gmail.com
    [9594b1e184b875d6120b669169400ec4] => i29q17depq4l9krnn4akikuue1
    [_ga] => GA1.3.1347890904.1538632839
    [_gid] => GA1.3.777576938.1538632839
    [16b2378a8e834de239acde194bff0517] => m0ua9jj4tlq8kr8000nk8su3d4
    [Itemid] => 298
    [option] => com_chronoforms6
    [view] => form
)
Array
(
    [validate_fields2] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

    [email4] => Array
        (
            [recipients] => Array
                (
                    [0] => request@driverslicencetranslation.com.au
                )

            [subject] => Driver's Licence Translation
            [body] => 
<table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"><tr><td width="30%" valign="top" align="right"><strong>First Name</strong></td><td width="70%" valign="top" align="left">Guill</td></tr><tr><td width="30%" valign="top" align="right"><strong>Last Name</strong></td><td width="70%" valign="top" align="left">Peterson</td></tr><tr><td width="30%" valign="top" align="right"><strong>Contact Number</strong></td><td width="70%" valign="top" align="left">0426321458</td></tr><tr><td width="30%" valign="top" align="right"><strong>Email</strong></td><td width="70%" valign="top" align="left">gpeterson10@gmail.com</td></tr><tr><td width="30%" valign="top" align="right"><strong>Current Driver's Licence Language</strong></td><td width="70%" valign="top" align="left">French</td></tr><tr><td width="30%" valign="top" align="right"><strong>Front</strong></td><td width="70%" valign="top" align="left">img004.jpg</td></tr><tr><td width="30%" valign="top" align="right"><strong>Back</strong></td><td width="70%" valign="top" align="left">img008.jpg</td></tr></table>
            [files] => Array
                (
                    [0] => file9:jpg,jpeg,png,pdf
                    [1] => file10:jpg,jpeg,png,pdf
                )

            [from_name] => driverslicencetranslation.com.au
            [from_email] => order@driverslicencetranslation.com.au
            [result] => the Mail could not be sent.
            [var] => 
        )

)
any other suggestion of areas to check?

thank you.
GreyHead 04 Oct, 2018
Hi guill9710,

Next check is - does the From Email match the email in the Site Admin Email settings?

Bob
healyhatman 04 Oct, 2018
Doesn't have to Bob. It can be literally anything as long as the domain matches. Source: done it a whole bunch of times.
guill9710 05 Oct, 2018
Hi Bob,
yes, it does match. same exact email address.
is the attachment settings something to do with it?
guill9710 05 Oct, 2018
Hi again Bob,

i tried removing the input in the attachment list although i left the auto attachment enabled and the email was sent successfully.
so it is not sending email if i input my file attachment in the attachment list. any idea why and how to fix it?
GreyHead 05 Oct, 2018
Hi guill9710,

The [files] array in the debug output is showing a list of file types rather than a file path/name - I guess that there is something wrong with the settings there.

Bob
This topic is locked and no more replies can be posted.