I installed SPForm on a website on a server I use to build website, after we migrate the website to the real domain name. In this case I was working in commradewebdesign.be/520 and then migrated the website to the domain name codigo520…com on another server. Suddenly the SPForm isn’t working anymore and I have been trying to find the solution for days now, together with the help desk of Namecheap, the host. But we can’t seem to find the problem.
I made my custom properties set, just like recommended, do the [[!SPForm@SPFormLocal]] snippet call. I tried with and without the spfUseSMTP, I tried to set up SMTP details in the system configuration only, in both system configuration and the SPForm properties and only in the SPForm properties. I’m 100% sure the SMTP details are correct, it’s also been tested and approved by the help desk of Namecheap. In my last email conversation with them, they told me this:
The following log has been created on the server then:
2020-12-24 15:53:08 H=(codigo520.com) [126.96.36.199]:35298 X=TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no F= A=dovecot_login:firstname.lastname@example.org rejected RCPT : “Your IP: 188.8.131.52 : Your domain gmail…com is not allowed in header From”
According to it, somehow the form is trying to send email from the address that user specifies while sending the form, and fails, because such email address can not be used by the system.
When filling out the form and submitting it, I get following error:
Lo siento - Systema Mail indica fallo en el envio de mensaje
La causa más probable es una dirección de email invalido del remitente .
Nota: En caso de que la función ISP mail() quede bloqueada, Webmaster debería intentar la opción SMTP
Google Translate: Sorry - Systema Mail indicates failure in sending message
The most likely cause is an invalid sender email address.
Note: In case the ISP mail () function gets blocked, Webmaster should try the SMTP option
I tried with both ports 465 and 587, with ssl or tsl, and always matched the system configuration settings. Firewall is totally disabled by Namecheap for my website, and Modsecurity totally disabled.
What have I overlooked? What can be the problem? I am getting desperate, I really don’t know what to try anymore. It’s been days I have been trying to solve the problem. I have been working with Modx for 3 years now, but I’m not a developer, I can write HTML and build websites in Modx, but that’s it. So please talk to me in newbie language.
FYI: I used domainname…com to avoid links in the text as only 2 links are permitted by new users