WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Form and mpForm not sending emails
  • Print
Pages: [1]   Go Down

Author Topic: Form and mpForm not sending emails  (Read 17820 times)

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Form and mpForm not sending emails
« 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.
Logged

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: Form and mpForm not sending emails
« Reply #1 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.
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Form and mpForm not sending emails
« Reply #2 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)
Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Form and mpForm not sending emails
« Reply #3 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
Logged
Web developer

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: Form and mpForm not sending emails
« Reply #4 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?
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: Form and mpForm not sending emails
« Reply #5 on: January 24, 2024, 11:26:05 AM »
Quote from: 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?

Yep, that's correct.
Logged

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: Form and mpForm not sending emails
« Reply #6 on: January 24, 2024, 11:27:33 AM »
Quote from: 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

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.
Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Form and mpForm not sending emails
« Reply #7 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.
Logged
Web developer

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: Form and mpForm not sending emails
« Reply #8 on: July 19, 2024, 02:28:09 PM »
Quote from: 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.
This is absolute nonsense. I use PHPMail on many websites on many different hosting platforms and they all work fine.
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Form and mpForm not sending emails
« Reply #9 on: July 20, 2024, 10:37:29 AM »
sorry, but its not nonsens.
at first, we've to ask: did we talk about the basic php-function mail(), that use the sendmail()-function from the server?
next step: do you use the shortest way like this -> mail('example@example.com', 'MySubject', $myMessage); or the extended function with additional header-informations with From..., Reply-toAdress, X-Mailer...
a lot of mailservers detect a send-mail as spam, if there are missing the FROM && Replay-Adress, other servers blocked the port 25 complete and so it is possible, that you can send a phpmail to me with success, but my mailserver detect it as spam
for example: i'm using the german provider Strato for any of my webprojects. With the new GDPR (General Data Protection Regulation) the provider stops the simple php-mail and blocked the port 25, now, a couple of years later, i can use it again, if i use the additional headers.
at 1&1 (IONOS), another german provider, i can use only SMTP-Mail, but it looks, that it works only for the simple webspace-account and not for a webserver.



Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Form and mpForm not sending emails
« Reply #10 on: July 20, 2024, 11:27:04 PM »
You must have slim or SMTP or both to work otherwise a lot of provuders filter mail , they go to spam or not at all. Thats my experience
Logged
Web developer

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Form and mpForm not sending emails
« Reply #11 on: July 21, 2024, 12:09:12 PM »
only, to know it: slim is a alternate mailer like our phpmailer and use the swiftmailer?

the phpmailer from wb send with the setting "PHPMail" everything, what it need for a correct php-mail, means also the FROM-name and the return adress
WB use in the past also the swiftmailer in 2015 or 2016, but the swiftmailer was not fast enough for a important update 
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Form and mpForm not sending emails
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2