Solved

Overcoming Mailto parameter max size of 2083

Posted on 2010-09-06
4
812 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
  • 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 108

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now