Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripted blind carbon copy.........

Status
Not open for further replies.

bapprill

Technical User
Oct 14, 2002
37
US
so heres the problem. i have a list of 20 or 25 names. i want to create a link using HTML that will create a message to be sent to everyone on the list without giving away the addresses to everyone else. i tried using "mailto:" to create a message to myself, and include the addresses as a blind carbon copy ("?&bcc"). for some reason, everything works except the bcc. heres my line of code, ne suggestions would be great....

<a href=&quot;mailto:me@myself.com?&bcc=listofppl@everyone.com&quot;>Click here to send to entire list. </a>

~~ Laziness is the mother of invention ~~
 
<a href=&quot;mailto:me@myself.com?subject=my subject line&bcc=listofppl@everyone.com&quot;>Click here to send to entire list. </a>

OR

<a href=&quot;mailto:me@myself.com?bcc=listofppl@everyone.com&quot;>Click here to send to entire list. </a>

get rid of the ampersand...

I have never tried this method, but using asp this would be very easy...

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
 
Bear in mind that the message will be sent using the surfer's own mail client (which may or may not recognise the bcc= command), so (s)he will see the full list of addressees as will anybody who examines your HTML.

The only really reliable (and secure) way of doing this is to use a formmail script to handle all this at the server, though this requires you to have scripting facilities (sometimes even free hosts offer a formmail facility though).

An alternative approach would be to set up a mailing list (say at Yahoo Groups) and mailto: its email address.

-- Chris Hunt
Extra Connections Ltd
 
hhrrmm.....
removing the & worked. every resource i looked at icluded it, i dont know why. i was thinking of setting up some sort of listserv, but dont think i have the resources available. is there a simple way of going about this?

~~ Laziness is the mother of invention ~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top