Webmastersite.net
Register Log In

Email link - Change to email submitter
Email link - Change to email submitter

Comments on Email link - Change to email submitter

Glenn
Beginner

Usergroup: Customer
Joined: Dec 09, 2005
Location: Spain

Total Topics: 1
Total Comments: 3
Glenn
Posted Jan 03, 2006 - 1:34 PM:

I want to change the email link form to email the submitters email address on the link, have been trying to implement this old thread https://www.webmastersite.net/forums/thread/1266, with no luck.
I need it so that a guest can send an email via the email form
would like to have
Your Nmae:
Your Email:
Your Message:

thanks
Glenn
Glenn
Beginner

Usergroup: Customer
Joined: Dec 09, 2005
Location: Spain

Total Topics: 1
Total Comments: 3
Glenn
Posted Jan 03, 2006 - 2:52 PM:

have got it to work kind of?
changed in email.php
sendemail("$toemail", "$title", "$message", "From: $fromemail\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1");
}
else sendemail("$toemail", $title, "$message", $headers);
to....
sendemail("$ourlink->email", "$title", "$message", "From: $fromemail\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1");
}
else sendemail("$ourlink->email", $title, "$message", $headers);

and in email.tpl Iv changed where it says "Send the link to this E-mail: "just to Your Email:" and in the message box I did this
<tr>
<td class="labelscolumn"><span class="labels">Your Message:</span></td>
<td class="optionscolumn"><textarea name="customtext" rows="5" cols="60">please enter your name, email and message here for a quick reply</textarea><td>
</tr>
It will do for me smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.