| Email General questions, webmail, mailing lists. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Apr 2004
5 posts
Gave thanks: 0
Thanked 0 times
|
formmail question
I was wondering how to have the subject of an email form be the same as a user defined entry that will be included in the mailed text. In specific, I want the user's name to appear as the subject, but also be in the text of the email and only have to be entered in once by the user.
The current action for email is for formmail to use it as "from" in the inbox, but not to post it in the emailed text. Is there a way to have it in both places. As a side question, is there a way to have the text show apostrophes instead of the code? Thanks for looking! Last edited by pRS317; April 13th, 2008 at 1:25 PM. |
|
|
|
|
|
#2 (permalink) | |
|
﴾͡๏̯͡๏﴿...tweet
Super #1
Joined in Dec 2005
5,502 posts
Gave thanks: 136
Thanked 145 times
|
I don't know if you have solved this already but here is what I have found by looking in the readme:
Quote:
Code:
<a>Name: </a><input type=text name="subject"><!--You are essentially tricking the user... by having them enter their name but this field will actually be used as the subject and subsequently be printed in the body by way of the next line--> <input type=hidden name="print_config" value="subject"><!--this line tells formmail.pl to return the subject in the body of the email--> 4am in the morning except sleep... but I can't quiet my mind... so yeah TMI hehe.ciao
__________________
jam
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|