Might it be your/your provider's anti-virus blocking the clsid string? You
could try to send another long mail with common text or HTML.

BTW mail() has been reworked for PHP 4.3.0, you can get a new (dev)version
to try out on http://snaps.php.net/win32

Christoph

Martin Clifford wrote:
> I would think that there would only be a limit on the SMTP server
> that the mail function sends the mail through.  I'm no expert on the
> subject though, just makes sense. :o)
>
> Martin Clifford
> http://www.completesource.net (Now Open!)
>
>>>> "Shane" <[EMAIL PROTECTED]> 07/11/02 02:42PM >>>
> Nope, no luck. Still errors out.
> Is there a limit to how man characters a MAIL() call can have?
>
> -----Original Message-----
> From: Paul Roberts [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 11:31 AM
> To: Shane
> Subject: Re: [PHP] MAIL() Trouble. Need your eyes.
>
>
> try escaping the # in there.
>
>
> Paul Roberts
> [EMAIL PROTECTED]
> ++++++++++++++++++++++++
>
>
> ----- Original Message -----
> From: "Shane" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 11, 2002 7:21 PM
> Subject: [PHP] MAIL() Trouble. Need your eyes.
>
>
> Greetings, I am attempting to send an HTML based email using the
> Mail() function in PHP.
>
> I am having great luck until I include an OBJECT or EMBED tag in the
> HTML string.
>
> I am running PHP 4.2.1 on a WIN NT client.
>
> If I uncomment the OBJECT or EMBED lines below in the $message
> variable, my script errors out on the MAIL() call at the bottom.
>
> Please, any help would be appreciated.
> Thanks folks!
>
> - NorthBayShane
> -----------------------------------------
> <?PHP
> $myname = "Me Myself";
> $myemail = "[EMAIL PROTECTED]";
> $myreplyemail = "[EMAIL PROTECTED]";
> $contactname = "Mister Contact";
> $contactemail = "[EMAIL PROTECTED]";
>
> -----------------------------------
> MY VERY LONG $MESSAGE STRING
> -----------------------------------
>
> $message = "<html><head><title></title>";
> $message.= "<meta http-equiv='Content-Type' content='text/html;
> charset=iso-8859-1'></head>";
> $message.= "<body bgcolor='#54616E' text='#FFFFFF' link='#FF6600'
> vlink='#999999' alink='#FF9900'>";
> $message.= "<center><table width='501' border='0' cellspacing='0'
> cellpadding='0'><tr><td width='500'
> background='http://www.delaplaine.net/flashmail/noflash.gif'>";
>
> ------------------------------
> HERE IS WHERE THE TROUBLE STARTS
> IF I UNCOMMENT THE OBJECT OR EMBED TAG
> THE SERVER ERRORS OUT ON MY MAIL() CALL
> ------------------------------
>
> //$message.= "<p><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-
> 444553540000'
>
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=5,0,0,0' width='500' height='300'><param name=movie
value='http://www.delaplaine.net/flashmail/delaplaine.swf'><param
name=quality value=high><param name=menu value=false><param name='BGCOLOR'
value='#54616E'>";
> //$message.= "<embed
> src='http://www.delaplaine.net/flashmail/delaplaine.swf' quality=high
>
pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash' type='application/x-shockwave-flash' width='500'
height='300' bgcolor='#54616E'></embed>";
> //$message.= "</object></p>";
>
> ------------------------------
> HERE IS WHERE THE TROUBLE ENDS
> ------------------------------
> $message.= "</td>";
> $message.= "<td bgcolor='#54616E'><img
> src='http://www.delaplaine.net/flashmail/spacer.gif' width='1'
> height='300'></td></tr>";
> $message.= "<tr><td align='center'><p><br></p><p><font face='Verdana,
> Arial, Helvetica, sans-serif' size='1'><a
> href='http://www.delaplaine.net/extranet/fm.php?sec=new&id=noflash'>Click
here</a> if you cannot see the animation above.</font></p><p><font
face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#999999'>&copy;
Copyright 2002, Delaplaine Creative.<br> All rights
reserved.</font></p></td><td align='center'>&nbsp;</td></tr>";
> $message.= "</table><p>&nbsp;</p></center>";
> $message.= "</body></html>";
>
> $subject = "FlashMail Test";
> $headers = "MIME-Version: 1.0\r\n";
> $headers.= "Content-type: text/html; charset=iso-8859-1\r\n";
> $headers.= "From: ".$myname."<".$myemail.">\r\n";
> $headers.= "To: ".$contactname."<".$contactemail.">\r\n";
> $headers.= "Reply-To: ".$myname."<$myreplyemail>\r\n";
> $headers.= "X-Priority: 1\r\n";
> $headers.= "X-MSMail-Priority: High\r\n";
> $headers.= "X-Mailer: Just My Server";
>
> mail($contactemail, $subject, $message, $headers);
>
> ?>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to