Solved

Overcoming Mailto parameter max size of 2083

Posted on 2010-09-06
4
816 Views
Last Modified: 2013-12-13
I support a website for a walking club. I have the member's email addresses on a MySQL database. The website allows them to send an email to all the other members. The web page that does this has a mailto: link with a  parameter of all the members email addresses. This has worked fine until recently.

Unfortunately, the number of members has gone beyond about 100, so that the parameter list of the mailto has blown the Internet Explorer URL limit of 2083.

I am looking for suggestions on how to modify the website (written in php Mysql) to handle this new situation.
Joe Murray
0
Comment
Question by:taoiseachjoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
geowrian earned 125 total points
ID: 33613556
When you have that many users, you really shouldn't be using a mailto: link. You will run into strange problems as you have seen, and they differ by browser. Also, it directly exposes the email addresses of each person, which sometimes people get a little funny about. Also, emails with that many recipients are often flagged as spam (it's not different that how spammers send emails).

Really, you should either be looking at a listserv or coding a process to send individual emails to each person. For coding it yourself, you may have to do a sort of queuing to avoid page timeouts and delays. Basically, you store the data necessary to send the email in a database, then run a task every x minutes that processes y emails from the queue (i,e. 100 emails every 5 minutes). This is less likely to be caught by spam filters, and has no client-side limits.
0
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 125 total points
ID: 33613663
My first recommendation is to for a Google Group and exchange messages that way.

My second recommendation is to use Constant Contact.

My third recommendation is use a form and action script to send the messages.  Please post a link to the web site and I will try to show you some ideas.
0
 
LVL 7

Expert Comment

by:Vimal DM
ID: 33619493
Hai,

i suggest you to go for "phpmailer" classes,where only the following things should followed.

1) Just download the PHPMAILER class along
2) Just know how to use the available functions there
3) Can have all the facilities like [bulk mail,single mail,attachment,Template Mail]

Advantages
---------------
1) Can avoid spams - No changes for it
2) Will support all the mail ID [gmail,yahoo,hotmail,etc...]
3) Mail delivery time is fast.

0
 
LVL 7

Expert Comment

by:Vimal DM
ID: 33619550
Hai,

i suggest you to go for "phpmailer" classes,where only the following things should followed.

1) Just download the PHPMAILER class along
2) Just know how to use the available functions there
3) Can have all the facilities like [bulk mail,single mail,attachment,Template Mail]

Advantages
---------------
1) Can avoid spams - No changes for it
2) Will support all the mail ID [gmail,yahoo,hotmail,etc...]
3) Mail delivery time is fast.

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question