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!

Multiple emails on one link

Status
Not open for further replies.

Mchristy

Programmer
Dec 21, 2001
2
US
I have a list of emails in an Access table. I am trying to set up a page so a user can get a list of people and their names are their email links, I have that part. At the bottom of the page I am looking to add a single link to use all the emails listed with a semicolon between them so the user can send an email to all the people listed and they do not have to click on each one of the single names. Hope I explained this correctly. I am trying to get this done in ASP but will post this in the Access Query forum also. Thanks
 
the html code is as follows, each email is separated by a comma

<a href="mailto:a@b.com,b@c.com,c@d.com">email all</a>

Grab all the emails (as you did to display them), put them into a string and use that

<a href="<%=strEmails%>">email all</a>

TIP: trying googling the answer before posting, you'll find that more times than not someone else somewhere has had the same request and posted an answer online.
----
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javascript enabled browsers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top