On Thu, Jul 11, 2002 at 07:00:57PM -0400, Chris Earle wrote:

> -----------------------------------------
> <?PHP
> $myname = "Me Myself";
> $myemail = "[EMAIL PROTECTED]";
> $myreplyemail = "[EMAIL PROTECTED]";
> $contactname = "Mister Contact";
> $contactemail = "[EMAIL PROTECTED]";

That's ok...

> -----------------------------------
> -----------------------------------
> $message = "<html><head><title></title>";

That's not how MIME based email bodies start.
> //$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'>";

This will give an error, because the message is not defined as a propper MIME

I'm not 100% sure of the exact correct syntax of MIME based email now, but
a look at the RFCs.  A nice quick hack to get the propper syntax, send yourself
a HTML based email from OE or a similar mail client, and view the source of
the generated email message.

You need things like

--- message type="mime/type" type="application/x-shockwave ---
--- next part="lbahb lah" ---

etc etc etc.

So yes, you're problem is that your email's not properly formated.  Search
arround a bit, read some fine manuals, and make some examples of MIME based
email messages from clients that you know works properly (such as OE).

Then, go back, format your message body properly, and it should all work very


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

Reply via email to