In need of a bit of help with a small prob. I was asked to write a page that will automatically send an email to everyone on a mailing list. under 1000 people. No prob.. pulling the email from the database is no prob.. Neither is sending the email BUT they need to be able to send attachments..
So i figured i would skip the use of mail() and do this..
<?
$connection = odbc_connect("otsego", "dbaccess", "dbaccess");
$query = "Select email from basic";
$result = odbc_do($connection, $query);
while(odbc_fetch_row($result)){
$email[] = odbc_result($result,1);
}
$email = implode("; ", $email);
print("<a href='mailto:$email'>click here to email the group</a>");
?>
But it has an issue.. I think the string it creates is too long..
Is there a way to do this that might be better. Like a page.. with a big text box for the text.. then a small line with a browse button for the attachments. ? Any help would be appreciated. I did do some reading about using mail() with attachments and would i have to specify every documnet type that might ever be sent?
Thanks much