Neal Berwick wrote:
Date: Wed, 21 Sep 2005 13:58:46 -0400
> My apologies in advance if I'm directing this to the wrong location, but
My apologies for not responding sooner, but your post got buried in my
inbox.
>I'm about out of ideas. I recently built a small PHP web form to allow
>individuals to send email updates to our various mailman lists. Everything
>works quite nicely for non-digest users, but when I tried to configure the
>script for digest users, things started to get weird.
<snip>
> Below I list the headers that I'm setting in php, the relevant sections of
>the plaintext digest with incorrectly counted messages/topics and finally
>the relevant sections of the plaintext digest with the correct message
>count.
> Thanks in advance to anyone who has any thoughts
> php:
>
>$boundary='--' . md5( uniqid("IsNealAGenius") );
>$headers = "From: \"Home Office\" <" . $from. ">\n";
>$headers .= "Mime-Version: 1.0\n";
>$headers .= "Content-type: multipart/alternative;\n boundary=\"$boundary\"\n
>X-Mailer: PHP/" . phpversion() . "\n";
>
>$message="\nThis is a multi-part message in MIME format.\n";
>$message.="\n\n--$boundary\n";
>$message.="Content-Type: text/plain; charset=\"us-ascii\"\n";
>$message.="Content-Transfer-Encoding: 8bit\n\n";
>$mail_to = "[EMAIL PROTECTED]";
>$message .= strip_tags($test);
>$message .= "\n\n--$boundary\n";
>$message .= "Content-Type: text/html; charset=\"us-ascii\"\n";
>$message.="Content-Transfer-Encoding: 8bit\n\n";
>$message .= $test;
At this point it appears you are missing
$message .= "\n\n--$boundary--\n";
>mail ($mail_to,"test",$message,$headers);
>......................................................................................
<snip>
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp