WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => Modules => Topic started by: seanie_morris on January 22, 2024, 03:50:52 PM

Title: Form and mpForm not sending emails
Post by: seanie_morris on January 22, 2024, 03:50:52 PM
Hi,
I was using  - well, trying out for the first time - the Form module on a website I am doing for myself, and the contact form submissions are not sending emails.
So, I tried the mpForm module, and I have the same problem!

I am using Chrome and Firefox, and I am trying it logged in, and as a guest. I am using a non-secured connection at the moment (HTTP, not HTTPS). Everything is in the root directory. The latest PHP version etc. are installed.

The submissions ARE being kept in the Admin backend, so I can see my test submissions.

Am I missing something?

Thanks,
Seanie.
Title: Re: Form and mpForm not sending emails
Post by: seanie_morris on January 22, 2024, 03:57:42 PM
UPDATE/PARTIAL SOLVE:

Using mpForm, I found that I forgot to put in the destination email address in the "To" Address(es): box under E-Mail Settings (Mail to site owner), removing the defualt <SERVER_EMAIL> value in that box.  :roll:

So, I have it working for mpForm, but not Form!

Seanie.
Title: Re: Form and mpForm not sending emails
Post by: sternchen8875 on January 22, 2024, 04:23:05 PM
Use the Mail Debug Settings in advanced WB-options, section Mail Settings, to get more informations about the problem.

P.S.: Form && Mpform use the same method (wbmail() in class.wb.php)
Title: Re: Form and mpForm not sending emails
Post by: crnogorac081 on January 22, 2024, 05:16:31 PM
In Settings, set SMTP Settings From your mail server, otherwise it will use phopmaile which will probably not work
Title: Re: Form and mpForm not sending emails
Post by: hgs on January 23, 2024, 08:35:41 AM
Just for understanding:
Installed is
WebsiteBaker 2.13.5 r223 with
PHP 8.3 on a Linux server?
Title: Re: Form and mpForm not sending emails
Post by: seanie_morris on January 24, 2024, 11:26:05 AM
Just for understanding:
Installed is
WebsiteBaker 2.13.5 r223 with
PHP 8.3 on a Linux server?

Yep, that's correct.
Title: Re: Form and mpForm not sending emails
Post by: seanie_morris on January 24, 2024, 11:27:33 AM
In Settings, set SMTP Settings From your mail server, otherwise it will use phopmaile which will probably not work

This worked - switching from the PHP mailer to the SMTP option and entering the settings requested that I got from my host provider. I now receive the email, as does the sender, and a copy is on the website in the admin backend. Before this, only the copy in the admin backend was received.

Seanie.
Title: Re: Form and mpForm not sending emails
Post by: crnogorac081 on January 24, 2024, 01:48:22 PM
This is because PHPmailer is marked as spam by the mail providers long time ago. It may be received but in Spam folder by some mail providers, but usually it is never received.