fbpx

Trick or Treat - 30% OFF - Coupon Code: SCARY20 Grab the Deal!

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED)The Ajax Contact Form Doesn't Transmit The E-Mail

The Ajax Contact Form Doesn't Transmit The E-Mail 3 years 2 months ago #4090

  • siang.imn
  • siang.imn's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
Hello,

I'm trying to put a simple ajax contact form with SP Page Builder Pro on my website. The form looks OK and e-mails are sent.

However, the e-mails I receive seem to come from the website main e-mail address. I can't see anywhere the e-mail address of the sender. So I can't aswer to the e-mails I receive.

Could you please help me to find what's going wrong?

Regards,

Sylvain :huh:
The administrator has disabled public write access.

The Ajax Contact Form Doesn't Transmit The E-Mail 3 years 2 months ago #4091

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3858
  • Thank you received: 589
  • Karma: 100
Hi,

Please see the screenshot.

Thanks,
Chandan
Attachments:
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

The Ajax Contact Form Doesn't Transmit The E-Mail 3 years 2 months ago #4092

  • siang.imn
  • siang.imn's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
i managed to solve the problem

go to 'components/com_sppagebuilder/addons/ajax_contact/site.php' on 138 no line you will get it:


$sender = array($email, $name);
$mail->setSender($sender);
$mail->addRecipient($recipient);
$mail->setSubject($subject);
$mail->isHTML(true);
$mail->Encoding = 'base64';
$mail->setBody($message);


replace by this:

//Email Body
$emai_body = 'name: ' . $name . '<br/>';
$emai_body .= 'email: ' . $email . '<br/>';
$emai_body .= 'message: ' . $message ;

$sender = array($email, $name);
$mail->setSender($sender);
$mail->addRecipient($recipient);
$mail->setSubject($subject);
$mail->isHTML(true);
$mail->Encoding = 'base64';
$mail->setBody($emai_body);
The administrator has disabled public write access.
The following user(s) said Thank You: chandandeep

The Ajax Contact Form Doesn't Transmit The E-Mail 3 years 2 months ago #4093

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3858
  • Thank you received: 589
  • Karma: 100
Great!

Let us know if you have any question for us.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

The Ajax Contact Form Doesn't Transmit The E-Mail 1 year 8 months ago #11204

  • garym
  • garym's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
having a similar issue my one shows success but no email received. check the email address on the SP contact form and it's correct.

Any ideas
The administrator has disabled public write access.

The Ajax Contact Form Doesn't Transmit The E-Mail 1 year 8 months ago #11206

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4153
  • Thank you received: 609
  • Karma: 108
garym wrote:
having a similar issue my one shows success but no email received. check the email address on the SP contact form and it's correct.

Any ideas

It could very well be that the the email is arriving in spam or junk email. Try pointing to an @gmail.com or similar address to see if that comes through.
Check with your web host to see if you can get a log/report of all emails sent/delivered within the particular timeframe.
More importantly: please start a new thread.
Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.386 seconds