Hey there, I am using this code:

<?php
// E-MAIL QUERY
mysql_select_db($database_Creative, $Creative);
$data = mysql_query("SELECT Email FROM customers WHERE Email IS NOT NULL ORDER BY Email ASC LIMIT [COLOR="red"]92[/COLOR]") or die(mysql_error()); 

for( $i = 0; $i < $row = mysql_fetch_array($data); $i++){
$inbox .= str_replace("", "", $row['Email']).',';

}
$to = $inbox.'noreply@creativeink.ca';

//echo "<a href=\"mailto:".$to."\" class='rollover'><img src='images/icons/email.png' border='0'></a>";
?>

The only reason I am using the limit I have highlighted in red is because this works for when I have 92 addresses, but the database has 200 and once I put it to 93 it doesn't work.

Does mailto have a limit on the amount of e-mail addresses that can be sent in one e-mail?

And the 93 e-mail address has no weird characters in it, I already thought that but it is as normal as the other ones.

Thanks for your help!

Jim

    Thread moved to ClientSide Technologies forum (since this has nothing to do with PHP).

    How long is the URI that is being generated with 92 addresses? Note websites like this or this one that discuss the maximum length certain browsers will accept/handle properly when dealing with URIs.

      Write a Reply...