Forums

CF5 not sending admin emails - Please Help

Shmell77 14 Sep, 2016
Hi,
CF5 wont send admin emails only, tried different send from and to emails, no effect.
Can they be with the same domain?
Emails to user work fine, and joomla sends emails from other non-CF5 form.

Please help
GreyHead 15 Sep, 2016
Hi Shmell77,

Please make sure that the To and From addresses are different, and the From address matches the site domain,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

This is most likely a problem with your mailer setup and it is dropping the emails.

Bob
Shmell77 15 Sep, 2016
Hi Bob,
thank you for reply.
I found out this problem on new developing website, which is in different folder online. And after test form on original website, the same problem occurred. It worked before on this site, so after some tests, it looks like new CF5 version 5.0.12 update brought this issue. When i reinstalled old 5.0.10 version both forms on both websites start working properly, BUT now on old version i can't edit forms, all form settings loading forever.

After 5.0.12 update it still working... I've tried to reinstall the CF5 component and module i use before, but i did update right away, and it didn't work...

I'm confused, now it works fine, but i'll keep an eye on it and let you know if smth.
Shmell77 15 Sep, 2016
After couple of form tries or after re-saving the form it stop send email to admin again.
Here is debug log:
Data Array

Array
(
[chronoform] => sedona_career
[event] => submit
[name] => Zhanna
[position] => TEST
[email] => shmell77@yahoo.com
[phone] => 2674440000
[notes] => 1050
[g-recaptcha-response] => 03AHJ_Vuu3GJb7ai9kDMe54N-mRNGf5ORcmlskJr9oyEdUUpJ7ORMv5HCUzL3ls5cdwpIwnB8jXzSZOblGvBqXnzUevPaCC6iah3_-bV7ldfrQgsRhJJiEINIj-H9u89KJjFi_m1j0Su3kBEuLh1PPkhkiYofd9wNEQfJCnV7kAlith2e8jx_A5FfLOPHKme71Wi5nJUoq-3FHHcbJJx_-Jn_hlrsMStSiCCL-gLX3AV6bMar0eqgAz1PJcoeDMlAujYr2Uh4PRHyUzLffJXrfCDlb-J36eTsFCwljWT_UlmK_jslnk64A0Zg5iZh0Uz1gqhRfbGqLtpXR2zb6UW3gfyrahASWi_CfZywJd7m5pApXsX-Emca1q-qh5pvEBFOe5A5PEtK1WlHngKxhUszASr0At6LBisw5gNjwU1QxFb1T8UapSXCNrwwPOx8uWUnKZJPaODqOxrhyLqc0Y2Od1navFvwo3QBon8uKebAkI60tf_Rp7hq9-vKba1x2Uy4X4irC35Xnro6VK-UvYvYOdMJ-0AKBoYlicRFWVyxvx7E-9vlfAou_4rwNPAapKaj2KzkHNtroMPbHeGfn747M3771jmZyF-cF6itea22GJ7K_wq3MRzlKIeRbFfwcAiNzZPCyaegLV9h_lb4kx5gtJZxA42yUv21Di0XNMl0cV1nmYPdb1bROQyfZuu_dnP8aH5hy5zmRFZtBM55pjO-ylnyuGsWqHz8Vuj59Dmj4sgtDQKnWO9XtFQ0LbGYo1TfKqCpIyy7qGI_xBxT3l4wSSNm6YKjjeJ2xG8gk97ag6fyNe8Rjl346jS420bPn0DnPlaBTgnNU9s3ODjfGNG-_uJvQFkRnA9OnmdsCAMpLbsVSlBgmMEJARVUXGdqi_2ida_lmwGMeMt9wFcQhSdqMqAzBLqH14xoEUrmYGnxpC4G59WxW4f-OJmrcortYv7coQzJQrTtEKwnRcrn9MJQxOQBU_De-PrxVkzKfUiTRV4boW5KScixcXOj6K1H7omEOYPlPK5DGLNZggWT_7YmQXMkk8ApLPS6LML0oWtggsxpZHQc5BMEJyxBFKJBbkIvAdR5Nm7m5BWDwSknGMawelmP0ArJHHJDMSFTKkiDmj-adIDD4zDsmXr16DqDDZaoKyqW-abOYuG3s
[submit] => Send Request
[ip_address] => 100.34.81.31
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
[0] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:es@sedonapa.com
[2] => Subject:Sedona's Position Request
[3] => From name:Web Careers Form
[4] => From email:admin@sedonapa.com
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)

[11] => Body:
<table>
<tr><td>Full Name</td><td>Zhanna</td></tr>
<tr><td>Position(s) Applied</td><td>TEST</td></tr>
<tr><td>Email address</td><td>shmell77@yahoo.com</td></tr>
<tr><td>Phone number</td><td>2674440000</td></tr>
<tr><td>Notes</td><td>1050</td></tr>
</table><br /><br />IP: 100.34.81.31
)

)

[1] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:shmell77@yahoo.com
[2] => Subject:Your position(s) request
[3] => From name:Sedona Salon and Spa
[4] => From email:ask@sedonapa.com
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)

[11] => Body:
<p>Dear Zhanna,</p>
<p>Thank you for interest in our salon positions available.<br/>
Your request was received. We 'll get back to you.</p>
<br/>
<p>Best Regards,</p>
<p>Sedona Salon and Spa Management<br/>
(215) 443-8800</p>
<br/>
<br/>
<p>Copy of your request:</p>
<table>
<tr><td>Full Name</td><td>Zhanna</td></tr>
<tr><td>Position(s) Applied</td><td>TEST</td></tr>
<tr><td>Email address</td><td>shmell77@yahoo.com</td></tr>
<tr><td>Phone number</td><td>2674440000</td></tr>
<tr><td>Notes</td><td>1050</td></tr>
</table>
)

)

)
GreyHead 15 Sep, 2016
Hi Shmell77,

I can think of no reason why ChronoForms would stop sending after a couple of correct submissions. The Debugger code shows that CF did get an error message back from the Joomla! mailer so it is most likely that the emails were sent but have been dropped somewhere after that. Does your web-host have any suggestions?

Bob
Shmell77 15 Sep, 2016
I'll check with host today. I've even tried to use third party emails like gmail or yahoo as destination admin emails, still nothing.
Also i've updated my php on this websites folders to 5.6.24, does CF5 had any problems before on php5.6?

By the way, could you advice, if i want to use one attachment field with multiple files,
should i use:
Field Name - files_upload[]
Multiple - Yes
Setup-Uploads-Files Config - files_upload[]:doc-docx-pdf-txt-jpg-bmp-gif-png-rar-zip
?
GreyHead 15 Sep, 2016
Hi Shmell77,

I'm using PHP 5.7 and there are no problems I know of with the latest releases of CF.

To use multiple uploads add files_upload:doc-docx-pdf-txt-jpg-bmp-gif-png-rar-zip (no []) in the Files Config box AND files_upload in the Array Fields box further down.

Bob
Shmell77 19 Sep, 2016
Hi Bob,
hosting tech support didn't find any errors on server side.
And regular Joomla contact form, that also use php mailing function working fine.

Do you have any idea, why 5.0.12 form stop sending emails, when 5..0.10 version does.
I would use older version, but there is all forms settings not loading any more.

So i don't know what to do and what to check...
GreyHead 19 Sep, 2016
Hi Shmell77,

By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
GreyHead 20 Sep, 2016
Hi Shmell77,

I tested this and the email from an Article link isn't working (see the Massage Therapy Career article to test) so I suspect that the Mail Service is not working on the development site - or possibly is just blocking and dropping the emails as Joomla! returns a 'Success' message.

Bob
Shmell77 20 Sep, 2016
Hi Bob,
so your mean smth wrong with this particular page? Cause i've added email icon on other pages and test, they work...
Shmell77 20 Sep, 2016
Also, when removing chronoform from page, this email article buttons start work in this category... I'm confused
GreyHead 20 Sep, 2016
Hi Shmell77,

I picked the article at random - I still have not received any email from it :-(

I don't know of any reason why adding or removing a from from an article would change the behaviour of an email button unless the form has a JavaScript error that stops the popup working. There are several JavaScript notices but they seem mainly to be from the Google Map you are using.

Bob
Shmell77 20 Sep, 2016
Where are you checking the JavaScript errors?
GreyHead 20 Sep, 2016
Hi Shmell77,

In my browser web-developer console. I recalled some red messages but looking again they are only fonts or an image failing to load, nothing too serious,

Bob
Shmell77 22 Sep, 2016
Hi Bob,
i've transfer admin email to the same hosting where website is and looks like now it works.
But Upload multiple files wont work.
In upload files element i have:
Filed Name: files_upload[]
Field ID: files_upload
Multiple: Yes

In Setup-Uploads:
Files config: files_upload:doc-docx-pdf-txt-jpg-bmp-gif-png-rar-zip
Array Fields: files_upload

What i'm doing wrong?
GreyHead 23 Sep, 2016
Hi Shmell77,

The settings look OK to me.

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Bob
Shmell77 23 Sep, 2016
Data Array

Array
(
    [chronoform] => sedona_career
    [event] => submit
    [name] => Zh
    [position] => test
    [email] => shmell77@yahoo.com
    [phone] => 267444
    [notes] => test 911
    [g-recaptcha-response] => 03AHJ_Vut20rOwmqWN3QVf5RGSrKWmVaRl5lB60gyJkV8bCNwl_ZIXswhFD0G_ctjOHO7HmuvVJTP7Tgs8Iqo60AW7kPjyct9H-Vc8IM-Slyl5oZVZL-8BD-FFAKdoCcCOXz6XEYXR-qq4hOP9R6rJhKxDxl8OZ_dOUW-gZS_thLNXOCEQwBs-vrGGojyPC8xTFZPhEv2M9xje19ER-BC9z_a3SCZCetd3j4D01fZnlibO4A5vfRq2H9OeVEHc5ewDvnVXF1965Fp2kPGd0KA12I0dN0hBaznLWXtzRHY3KjOixW6822Oq21yrV51p-g7-obpByPNPzzf0krEUFnEgCiNonfxaqdN4BjMJ7uKH-MqiLVkXfNuOIKfO0udTM63cOz8jB1OcE5_Y92CyjjVGP4Z39J46wd9f86IU9ajYO48S0Smsx5KdOHkl4wjBI2qUE3nXZUPwrcN9ZypHnBPDQ0A6S0b2vmGkcPXf4n4NkKYtLAnFItYVDLGlC8N12PNzIZ7134y_O7U7cCKtdA0y6DxVYIkL7ie3d3wz-pK8_Gy9Ij4OjrXMtDpUAN6WAVqkHdDfir339O6TquT2-SDWoLWTzwGf6gVSASRcPQnakJUiYlqUpp8okpXRccYPruYbPO5NhCKPlCSrA_BOk7Hy9FH1bgdAu6mWYn_8j7aVqeC1a4vSaXSde1GnzGZHvLY93hk4uD8B3ehnB33biong5-yvNv6OmRyXY6sy_LhrvuTK16Z4eseIKk-eYjLnOd-lH3XlVQ8FGT2I-SOM8ZL1MSMD_zb6o0yxec57Bgqf4IJly5yrzwKaogmvTbT9zlzSHUpCgwXzKkhSsl_IgaSJxV8AiRVk219KvJr4z8x7K2KdZP8N5bBcXv8
    [submit] => Send Request
    [files_upload] => 20160923131441_IMG_20160808_161837.jpg,20160923131441_IMG_20160808_161843.jpg,20160923131441_IMG_20160821_153325.jpg
    [ip_address] => 100.34.81.31
)

Array
(
    [files_upload] => Array
        (
            [0] => Array
                (
                    [name] => 20160923131441_IMG_20160808_161837.jpg
                    [original_name] => IMG_20160808_161837.jpg
                    [path] => /home1/kartinap/public_html/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160808_161837.jpg
                    [size] => 1355712
                    [link] => http://msr-s.com/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160808_161837.jpg
                )

            [1] => Array
                (
                    [name] => 20160923131441_IMG_20160808_161843.jpg
                    [original_name] => IMG_20160808_161843.jpg
                    [path] => /home1/kartinap/public_html/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160808_161843.jpg
                    [size] => 1422792
                    [link] => http://msr-s.com/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160808_161843.jpg
                )

            [2] => Array
                (
                    [name] => 20160923131441_IMG_20160821_153325.jpg
                    [original_name] => IMG_20160821_153325.jpg
                    [path] => /home1/kartinap/public_html/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160821_153325.jpg
                    [size] => 1560173
                    [link] => http://msr-s.com/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160821_153325.jpg
                )

        )

)

Errors

Array
(
)

Debug Info

Array
(
    [9] => Array
        (
            [Files Upload] => Array
                (
                    [0] => Upload routine started for file upload by : files_upload
                    [1] => /home1/kartinap/public_html/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160808_161837.jpg has been uploaded successfully.
                    [2] => Upload routine started for file upload by : files_upload
                    [3] => /home1/kartinap/public_html/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160808_161843.jpg has been uploaded successfully.
                    [4] => Upload routine started for file upload by : files_upload
                    [5] => /home1/kartinap/public_html/sed/components/com_chronoforms5/chronoforms/uploads/sedona_career/20160923131441_IMG_20160821_153325.jpg has been uploaded successfully.
                )

        )

    [0] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:es@sedonapa.com
                    [2] => Subject:Sedona's Position Request
                    [3] => From name:Web Careers Form
                    [4] => From email:
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<table>
<tr><td>Full Name</td><td>Zh</td></tr>
<tr><td>Position(s) Applied</td><td>test</td></tr>
<tr><td>Email address</td><td>shmell77@yahoo.com</td></tr>
<tr><td>Phone number</td><td>267444</td></tr>
<tr><td>Notes</td><td>test 911</td></tr>
</table><br /><br />IP: 100.34.81.31
                )

        )

    [1] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:shmell77@yahoo.com
                    [2] => Subject:Your position(s) request
                    [3] => From name:Sedona Salon and Spa
                    [4] => From email:
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<p>Dear Zh,</p>
<p>Thank you for interest in our salon positions available.<br/>
Your request was received. We 'll get back to you.</p>
<br/>
<p>Best Regards,</p>
<p>Sedona Salon and Spa Management<br/>
(215) 443-8800</p>
<br/>
<br/>
<p>Copy of your request:</p>
<table>
<tr><td>Full Name</td><td>Zh</td></tr>
<tr><td>Position(s) Applied</td><td>test</td></tr>
<tr><td>Email address</td><td>shmell77@yahoo.com</td></tr>
<tr><td>Phone number</td><td>267444</td></tr>
<tr><td>Notes</td><td>test 911</td></tr>
</table>
                )

        )

)

Emails coming, but without any attachments
GreyHead 23 Sep, 2016
Hi Shmell77,

It looks as if you may have a Handle Arrays action that is converting the [files_upload] array to a list. When I test a similar form I see this
[file_upload] => Array
        (
            [0] => 20160923134851_test_image_-_Copy_.jpg
            [1] => 20160923134851_test_image.jpg
        )

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