WebSite X5Help Center

 
Pedro Ribeiro
Pedro Ribeiro
User

Email Problem .php  en

Author: Pedro Ribeiro
Visited 446, Followers 1, Shared 0  

Whenever I create a form x5 creates the following email file in php, this is the line $form->mailToOwner($_POST['imObjectForm_1_1'] != "" ? $_POST['imObjectForm_1_1'] : '***', '***', 'Proof of Purchase', 'Received from your site a proof of purchase.', false); and I can't receive email, that's when I saw that this line should look like this $form->mailToOwner('***', '***', 'Proof Purchase', 'You received a message from your site proof of purchase.', false); and so it already works.

Posted on the
9 ANSWERS - 2 USEFUL - 1 CORRECT
Pedro Ribeiro
Pedro Ribeiro
User
Author

how can i fixed?

Read more
Posted on the from Pedro Ribeiro
Franz-Josef H.
Franz-Josef H.
Moderator

Which php version is running on your web space? You need at least 7.1, a higher one is better ...

Read more
Posted on the from Franz-Josef H.
Pedro Ribeiro
Pedro Ribeiro
User
Author

im running 7.1, can u show me where you have the ticked

Read more
Posted on the from Pedro Ribeiro
Pedro Ribeiro
Pedro Ribeiro
User
Author

O ficheiro do email imEmailForm não é criado corretamente

Read more
Posted on the from Pedro Ribeiro
Incomedia
Stefano G.
Incomedia

Hello Pedro

Can you please try to delete all the files on your hosting provider and then export the entire website again from the software?

Please try and replace all files online and test again. Let me know if this still happens.

If it does, can you please try and attach here a screenshot of the error you see?

Keep me posted here

Thank you

Stefano

GOOGLE TRANSLATE ---

Ola Pedro

Você pode tentar excluir todos os arquivos do seu provedor de hospedagem e, em seguida, exportar todo o site novamente do software?

Tente substituir todos os arquivos online e teste novamente. Me avise se isso ainda acontecer.

Em caso afirmativo, você pode tentar e anexar aqui uma captura de tela do erro que você vê?

Mantenha-me informado aqui

Obrigada

Stefano

Read more
Posted on the from Stefano G.
Pedro Ribeiro
Pedro Ribeiro
User
Author

Stefano G, I deleted all files from the server and put them back. Replaces php version to 8.0 and doesn't work.

The email php files are created as you can see in the image. Automatically puts what is underlined in blue. If I take this out (code in blue), everything works perfectly.

This only happens in emails, in the online store the sale works well. Both receive the emails.

Read more
Posted on the from Pedro Ribeiro
Incomedia
Stefano G.
Incomedia

Hello Pedro

I've checked the code and it is actually supposed to be correct. If this isn't working for you right now, there must be a different reason

One question, what exactly happens when the email doesn't work? Does the email simply not come or do you get some error on your website?

If you mention this to your hosting provider, can they see any error appearing on their logs?

Keep me posted here

Thank you

Stefano

GOOGLE TRANSLATE ---

Ola Pedro

Verifiquei o código e, na verdade, ele está correto. Se isso não está funcionando para você agora, deve haver um motivo diferente

Uma pergunta, o que exatamente acontece quando o e-mail não funciona? O e-mail simplesmente não chega ou você recebe algum erro no seu site?

Se você mencionar isso ao seu provedor de hospedagem, ele verá algum erro em seus registros?

Mantenha-me informado aqui

Obrigada

Stefano

Read more
Posted on the from Stefano G.
Pedro Ribeiro
Pedro Ribeiro
User
Author

Hello sir,

It turns out that the customer who sends the email receives confirmation and the website owner does not.

Before changing the code on the server, an error appeared there, I spoke with the person in charge and alerted me to the fact that the code has what I said. I changed it and it started to work we

Read more
Posted on the from Pedro Ribeiro
Incomedia
Stefano G.
Incomedia

Hello Pedro

Can you please send a screenshot here of how you configured the email form?

I'm talking about this part here:

Can you also check if you enabled this and disable it?

Keep me posted

Thank you

Stefano

Read more
Posted on the from Stefano G.