Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
p01-contact : simply add contact forms in your pages
Edit /plugins/p01-contact/p01-contact.php
Go to line 724 and change the code you'll find into something like this:
Quote: $serveremail = "your_account@woodruff.in";
$headers = "From: $email <$serveremail>\r\n";
$headers .= "Reply-To: $email <$serveremail>\r\n";
$headers .= "Return-Path: $email <$serveremail>\r\n";
This way an email existing on your hosting account should be placed in mail's header, and you should get sender's e-mail address as a name in "from" column.

If you want to get visitor's name, add below code under line 707 (//footer infos)
Code:
$content .= '<p>From: '.$name.' ('.$email.')</p>';

I can't guarantee that this solution will work.
Addons: getsimple theme, Online Visitors, Notepad
Reply


Messages In This Thread
askcopy syntax Not Working - by celextel - 2019-05-24, 01:54:40
RE: askcopy syntax Not Working - by celextel - 2019-05-28, 01:51:47
p01-contact : simply add contact forms in your pages - by yojoe - 2012-04-17, 04:39:15



Users browsing this thread: 1 Guest(s)