html email responder

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.
S

Stan52806

Thread Starter
When a html email is sent there needs to be a link in the message so the receiver can click on this link and a return email will be returned with the receivor's email address in the subject line.

I have everything working OK except, what must be done to have the receivers email address printed in the subject line?

Any suggestions would be appreciated. Thanks.
 
Joined
Jul 29, 2001
Messages
21,334
And you are accomplishing this in straight html with no cgi, perl, asp or other scripting?
 
S

Stan52806

Thread Starter
Yes, other than formmail.pl. (See following code snippet).
Any help to clean this up would be appreciated.

----------------------------------
<!--
<form action="/cgi-sys/formmail.pl" method="post">

<input type="hidden" name="recipient" value="[email protected]">

<input type="hidden" name="subject"
value="SPECIAL MESSAGE">

<input type="hidden" name="redirect"
value="thanks.html">

<input type="hidden" name="return_link_url" value="submit.html">

<input type="hidden" name="report" value="REMOTE_HOST,HTTP_USER_AGENT">

<input type="hidden" name="required" value="email">

<input color="ff0000">
<input type="text" name="RECIPIENT'S EMAIL" size=45>

<input name="action" type="submit" value="Submit">
<input name="action" type="reset" value="Reset">

</form>
-->
 
Joined
Jul 29, 2001
Messages
21,334
The code would be appreciated also....LOL

Use the PHP button in the message and then paste your code between the tags
 
S

Stan52806

Thread Starter
What is the PHP Button? I've tried to send the form code but it didn't come through.
 
Joined
Jul 29, 2001
Messages
21,334
There is a button above where you enter your message here....

<img src="http://forums.techguy.org/attachment.php?s=&postid=671273">
 

Attachments

S

Stan52806

Thread Starter
I must be exeptionaly dense, but I can find these controls. Where do I look?

Attached is a form.txt file that contains the form.

I would like to have the name and email address filled when the form is displayed.

Thanks, I appreciate you help.
 

Attachments

Joined
Jul 29, 2001
Messages
21,334
THe user name and email address is never going to display when the form opens unless they directly enter the information in the text boxes. If you want the subject line to read the senders email address on the other end you need to pass the form data for the text box name email to the perl script and have that process the form the recipient gets. There is nothing to do from your email form that will accomplish this. Post the contents of the formmail.pl
 
S

Stan52806

Thread Starter
Thanks for you help. It looks like I need to take a different approach.
 
S

Stan52806

Thread Starter
Sorry for the delayed answer, I've was gone.

I've downloaded this php program from:
http://www.boaddrink.com/projects/phpformmail/

Program Name:
phpformmail_classic-1.05.0.zip

I think this program will do what I want. The server for my web site is currently running php. Because I am so unknowledge about php, I have questions and would appreciate your help.

I've changed the address as requested in the docs.

1. Does formmail.php need to be located in a special directory or what directory should it be located in?

2. Is formmail.php called by by a standard html link? (It will not run as a stand-a-loan).

I may have more questions once this gets running.

Thanks.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top