Solved

Overcoming Mailto parameter max size of 2083

Posted on 2010-09-06
4
818 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

729 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