WebSite X5Help Center

 
Flavio M.
Flavio M.
User

Contact form not working  en

Autore: Flavio M.
Visite 1987, Followers 1, Condiviso 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?

Postato il
6 RISPOSTE - 1 CORRETTO
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.

Leggi di più
Postato il da Andre E
Flavio M.
Flavio M.
User
Autore

Hi

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

Leggi di più
Postato il da 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?

Leggi di più
Postato il da Andre E
Flavio M.
Flavio M.
User
Autore

Fixed!

It was my mistake.

There was a error on mail accounting information.

Thank you for your help

Leggi di più
Postato il da Flavio M.
Andre E
Andre E
Moderator

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

Leggi di più
Postato il da Andre E