Softaculous


Topic : Contact form troubles


Posted By: ToonVerlinden on August 20, 2021, 3:11 pm
So I made a contact form, using Pagelayer.

  • In the Mail template I've set the 'To email' and the 'From email'.
  • Both mail addresses exist. :-)
  • I've put those mail adresses in the mailtemplate of the site and as a custom mailtemplate for the contact form.

Stil I don't receive the submitted information.

Any idea's on what I could be doing wrong? Or which setting I have to turn on?
Thanks for your advice!

Posted By: sumitDev on September 22, 2021, 7:03 am | Post: 1
Hello Sir,

Sorry for the inconvenience caused.

Kindly first remove the From email and empty it and then check the issue, also check that the input field name of the contact form fields is unique or not. If not then make them unique.

Posted By: sitesweb on December 19, 2022, 4:34 pm | Post: 2
Hello,
similar issue with Pagelayer provided by default with my web host,
No subject and mail from wordpress@

I had to manually update :

www/XXX/cms/wp-includes/pluggable.php

MODIFIED:
if ( ! isset( $from_email ) ) {
// Get the site domain and get rid of www.
$sitename = wp_parse_url( network_home_url(), PHP_URL_HOST );
=> $from_email = 'alain@';

if ( null !== $sitename ) {
if ( 'www.' === substr( $sitename, 0, 4 ) ) {
$sitename = substr( $sitename, 4 );
}

$from_email .= $sitename;
}
}

ADDED:
=> if ( empty($subject) ) {
$subject = 'Wordpress mail';
}

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.