WebSite X5Help Center

 
Flavio M.
Flavio M.
User

Contact form not working  en

Автор: Flavio M.
Просмотрено 2017, Подписчики 1, Размещенный 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?

Размещено
6 Ответы - 1 Корректно
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.

Читать больше
Размещено От Andre E
Flavio M.
Flavio M.
User
Автор

Hi

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

Читать больше
Размещено От 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?

Читать больше
Размещено От Andre E
Flavio M.
Flavio M.
User
Автор

Fixed!

It was my mistake.

There was a error on mail accounting information.

Thank you for your help

Читать больше
Размещено От Flavio M.
Andre E
Andre E
Moderator

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

Читать больше
Размещено От Andre E