8 years ago
7
Topic

Hi,

My form does not send confirmation emails anymore since I upgraded to the last version of SEBLOD (3.8.4). I'm using Joomla 3.6.2, and PHP 7.

I tested several possible solutions, but with no result : 

- disabled all cache from Joomla

- reinstalled Seblod package

- changed from PHP mail to sendmail in the joomla config (and tested that for both configuration Joomla sends email correctly)

- selected "always" for the "Send E-mail" field

- added "#" tags around the field name in the "To(field)" field : #email#

Seblod displays a message saying the operation was successful after submitting the form, but no email is sent anymore, neither to the person filling the form, neither to the admins, nor to the email address in bcc...

Any hint on how to solve this problem ?

Best regards

Jérémie

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
2
Level 1

Please check that everything is configured as in the manual. Most often error is in the to or To(fields). Filed that has your recepient adresses need to be text and it should not be this file, it needs to be other field.

8 years ago
1
Level 2

Thanks for the help !

Not sure I understand correctly : what do you mean when you talk about file ?

By the way, it worked like a charm before the upgrade, so I suppose it was correctly configured. But anyway, I checked (again) the article you mention on triggering emails, and really, everything seems correctly configured. By the way, I had 3 forms (multilingual site) and all of them stopped working after the upgrade. 

My main frustration now is that I cannot spot the origin of the problem. Do you have any idea on how to track the bug ?

Do you want that I send you a screenshot of the field configuration ? 

4229 Posts
Kadministrator
8 years ago
0
Level 3

hi,

yes, please post screenshot and if you use To(fields) also a screenshot of that field.

8 years ago
3
Level 1

Oooook ! By re-reading your first email, I think I understood you meant that : the field that is used to collect the email must be different from the field used to trigger the confirmation email !  

So I created a new field to collect the email (named "contact_email"), and configured my existing email field to be hidden, and to send the email to : To(field) => contact_email. This works indeed !

(This should be mentioned in the doc : https://www.seblod.com/resources/tutorials/triggering-emails)

With just a problem though : when testing the form with my email address, which is also the admin email address, the mail is not sent ! (but no error is generated neither). I understand it this way : the same email address appears twice in the 'to:' header of the email, and that makes Seblod or Joomla bug. When I test the form with another email address, everything works fine !

I think this could be improved in seblod. There are several choices to manage this : 

- generate an error message to spot the problem (the same email appears several times in the 'To:' header)

- check for duplicates in email adresses, and only keep one in the 'To:' header  ==> my favorite choice as it is more robust !

By the way, I imagine this problem will be the same for the 'cc:' and 'bcc:' fields.

Where should I submit the issue ?

4229 Posts
Kadministrator
8 years ago
2
Level 2

Hi,

I amended the tutorial.

8 years ago
1
Level 3

Thank you Klas for updating the doc !

Do you know if this problem will be solved in a future release ?

4229 Posts
Kadministrator
8 years ago
0
Level 4

Hi,

there will be no change as this is not a bug. Change comes from jooomla being more strict on the email sending.

Get a Book for SEBLOD