Jump to content

No e-mail sent when submit contact form


bukein

Recommended Posts

Hi, I am using Prestashop 1.6.0.9 and also have problem with the e-mail sent when user submit contact form.

 

In my website, I set up 2 languages.

   - Thai language (Default language)

   - English language

 

Case 1 =>  When I select English, Go to contact form , fill up required info and then click submit

                  - A new e-mail sent to my mailbox

 

Case 2 =>  When I select Thai, do the same things with the case 1

                  - No e-mail sent to my mailbox

 

I already check my Spam/Junk folder, no new e-mail as well.

 

Anyone know the solution?

Link to comment
Share on other sites

What is the thai language iso code? Check that you have a folder with that name in the main mails/ folder. If not, clone "en" and rename it

 

Thank you "Nemo1"

 

 

I already checked my folder. There is "TH" folder inside the "mails" folder.

Please see these captures

 

1415010592_0.35655100.png

1415010137_0.19761200.png

 

 

So I think all required folders are available. Could you tell me the next step?

 

Thank you in advance

Link to comment
Share on other sites

Try enabling error reporting (read my signature)

Checkout, see if there is anything popping out

After I enabled the DEV mode, I see this warning

 

1415214758_0.80826300.png

However this warning show after I submit the contact form for both Thai and English language.

So the warning is not related to the error

Link to comment
Share on other sites

  • 3 weeks later...

You might have some permission issues nonetheless.

Try debugging a bit, before that touch line of TOols.php, add this

 

 

var_dump($filename);

 

 

Then screen the result of the line right before that error

I already added the line before the error line => var_dump($filename);

 

This error is shown up when I click submit the form.

 

Notice: Undefined variable: filename in /home/boxtogoint/domains/boxtogo.in.th/public_html/classes/Tools.php on line 2994 NULL Warning: touch(): Utime failed: Permission denied in /home/boxtogoint/domains/boxtogo.in.th/public_html/classes/Tools.php on line 2995

Link to comment
Share on other sites

×
×
  • Create New...