| | |
|
|
|
email form multiple recipients dropdown menu |
| message from arizona on 16 Jul 2004 |
Hi, I was wondering if there is a way to use a dropdown menu for the email
recipients. Rather than having six different email forms that go to the
various recipients, I would like to just use a dropdown box..."who do you
want this email to go to..."
Is this possible. I tried googling through the dreamweaver groups, but
didn't find any good info on anyone who has gotten this to work.
Thanks in advance.
Barbara
|
| Alan replied to arizona on 16 Jul 2004 |
what are you using to send the form?
|
| arizona replied to Alan on 16 Jul 2004 |
I am using a formmail script with the six recipients in the @allow_mail_to
|
| Alan replied to arizona on 16 Jul 2004 |
simplest- if it's a "standard" variant of formmail and uses a field named
"recipient" for the email address you want it sent to-
make a <select> list named "recipient" with the 6 addresses.
suggest you have one of the choices initially selected, to avoid the error
message if they hit submit without making a choice.
Or you could do the same with radio buttons.
<select name="recipient">
<option value="fred@flintstone.com" selected>Fred</option>
<option value="barney@rubble.com">Barney</option>
</select>
better would be to do a bit of modification on the script so you could use
alias for the email addresses in the form, and keep the real email addresses
in the script hidden away. Spammers bots read the page code, and will
harvest real email addresses in the recipients field.
|
| arizona replied to Alan on 16 Jul 2004 |
thanks Alan, I will modify the script and use aliases.
|
| Jonathan Stowe replied to arizona on 19 Jul 2004 |
Even better download the NMS FormMail that already does this. See my
previous post for the URL.
/J\
|
| John Gaver replied to Alan on 16 Jul 2004 |
On 7/16/04 11:27 AM, in article
BETTER WOULD BE TO DO A BIT OF MODIFICATION ON THE SCRIPT SO YOU COULD USE
ALIAS FOR THE EMAIL ADDRESSES IN THE FORM, AND KEEP THE REAL EMAIL ADDRESSES
IN THE SCRIPT HIDDEN AWAY. SPAMMERS BOTS READ THE PAGE CODE, AND WILL
HARVEST REAL EMAIL ADDRESSES IN THE RECIPIENTS FIELD.
That deserved all CAPS. You don't want to do something that will put your
customer on hundreds of spam lists.
John Gaver
Action America
(forget everything to contact me direct)
Microsoft: (n) Job security for IT consultants.
|
| webmaster cts replied to John Gaver on 16 Jul 2004 |
Are there general suggestions about "Spammer's Bots" gathering emails on
websites?
Should I be doing something to protect email addresses on my website?
Right now some emails are in text form in html and linked with the mailto:
while others are Email Here (mailto:) style.
Should they be hidden or how should they be hidden?
Sorry... this is tangent of this message.
thanks
"John Gaver" <jgaEVERYver@ActionThingAmerica.org> wrote in message
news:BD1D7693.BA2A%jgaEVERYver@ActionThingAmerica.org...
|
| John Gaver replied to webmaster cts on 16 Jul 2004 |
Your post made me do something that I have been meaning to do for some time.
Check out this link. It explains how to code your html to foul up the
spammers' harvester bots.
http://www.gurusinc.com/alphabet.html
To see an example of it in action, see this site:
http://www.megafolia.com/
The email links on that site are all done the same way. That site has been
up for almost a year and takes thousands of hits per month (high search
engine placement) and yet, the client has not received a single spam,
directed to that address. You will note that I also included some of those
characters in the recipient field for the Feedback Forms. Another trick that
I use is to include a comment in the email address. The end resultant html
for the link looks something like:
%61%62<!-- spamfree -->%63%64%40%65%66<!-- spamfree -->%67%69%2e%63%6f%6d
I do the same thing with the ampersand values, for the visible portion.
Some say that the spammers will create smarter harvesters, but they have
been saying that for years. In reality, the current harvesters produce more
valid email address than the spammers could ever use, so there is no need to
try to break the code of someone who, if he has gone this far, likely
already has anti-spam software on their email client.
John Gaver
Action America
(forget everything to contact me direct)
Microsoft: (n) Job security for IT consultants.
|
|
Archived message: email form multiple recipients dropdown menu (Macromedia Dreamweaver)