WebSite X5Help Center

 
Flavio M.
Flavio M.
User

Contact form not working  en

Autor: Flavio M.
Besucht 2016, Followers 1, Geteilt 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?

Gepostet am
6 ANTWORTEN - 1 KORREKT
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.

Mehr lesen
Gepostet am von Andre E
Flavio M.
Flavio M.
User
Autor

Hi

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

Mehr lesen
Gepostet am von 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?

Mehr lesen
Gepostet am von 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

Mehr lesen
Gepostet am von Flavio M.
Andre E
Andre E
Moderator

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

Mehr lesen
Gepostet am von Andre E