WebSite X5Help Center

 
Flavio M.
Flavio M.
User

Contact form not working  en

Autor: Flavio M.
Visited 2274, Followers 1, Udostępniony 0  

Hi

I've create a contact form, from a template and also from scratch, and the form don't send e-mail.

I try the control pannel and there is working.

just not work at the form.

I'm using websitex5 pro 2019.3.14 and my hosting has php 5.6.30

you can look the form at https://www.ybytu.com.br/coisasdemulher and at https://www.ybytu.com.br/coisasdemulher/teste.php

at control pannel i can see severeal errors:

[2020-02-06 16:26:39] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-02-06 16:26:39] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-02-06 15:34:16] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

I also don't know how to setup the type o script to send mail. I supose that is the defaul.

Another question is how to link fields on form with the components of email as a body. Any text fields will be sended as a mail body? and attatchements?

Posted on the
6 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Andre E
Andre E
Moderator

First thing is to get the PHP at your provider to 7 or higher.

Then test again through the admin panel with several mail scripts.

Test with mail adresses from your provider first, some providers do not handle mail adresses that are not from them.

if an email script works you can set it in x5 in step1, advanced tab -> data management.

Hope this helps.

Czytaj więcej
Posted on the from Andre E
Flavio M.
Flavio M.
User
Autor

Hi

I did. Php now is 7.3 and still don't work.

Czytaj więcej
Posted on the from Flavio M.
Andre E
Andre E
Moderator

Did you test with mail adresses from your provider or did you use mail from another mail provider?

Who is your service provider for your webhosting?

Czytaj więcej
Posted on the from Andre E
Flavio M.
Flavio M.
User
Autor

Fixed!

It was my mistake.

There was a error on mail accounting information.

Thank you for your help

Czytaj więcej
Posted on the from Flavio M.
Andre E
Andre E
Moderator

Thank you for the feedback, glad it's solved.

Czytaj więcej
Posted on the from Andre E