RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Shane

I'll give it a shot, but there are # symbols all over the place in the other tags 
(like COLOR links...etc...

But thanks though?
Anyone else???

Thanks folks!

-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 = htmlheadtitle/title;
$message.= meta http-equiv='Content-Type' content='text/html; 
charset=iso-8859-1'/head;
$message.= body bgcolor='#54616E' text='#FF' link='#FF6600' vlink='#99' 
alink='#FF9900';
$message.= centertable width='501' border='0' cellspacing='0' 
cellpadding='0'trtd 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.= pobject classid='clsid:D27CDB6E-AE6D-11cf-96B8-44455354' 
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0'
 width='500' height='300'param name=movie 
value='http://www.delaplaine.net/flashmail/delaplaine.swf'param name=quality 
value=highparam name=menu value=falseparam 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.= trtd align='center'pbr/ppfont face='Verdana, Arial, 
Helvetica, sans-serif' size='1'a 
href='http://www.delaplaine.net/extranet/fm.php?sec=newid=noflash'Click here/a if 
you cannot see the animation above./font/ppfont face='Verdana, Arial, 
Helvetica, sans-serif' size='1' color='#99'copy; Copyright 2002, Delaplaine 
Creative.br All rights reserved./font/p/tdtd align='center'nbsp;/td/tr;
$message.= /tablepnbsp;/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




RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Shane

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 = htmlheadtitle/title;
$message.= meta http-equiv='Content-Type' content='text/html; 
charset=iso-8859-1'/head;
$message.= body bgcolor='#54616E' text='#FF' link='#FF6600' vlink='#99' 
alink='#FF9900';
$message.= centertable width='501' border='0' cellspacing='0' 
cellpadding='0'trtd 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.= pobject classid='clsid:D27CDB6E-AE6D-11cf-96B8-44455354' 
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0'
 width='500' height='300'param name=movie 
value='http://www.delaplaine.net/flashmail/delaplaine.swf'param name=quality 
value=highparam name=menu value=falseparam 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.= trtd align='center'pbr/ppfont face='Verdana, Arial, 
Helvetica, sans-serif' size='1'a 
href='http://www.delaplaine.net/extranet/fm.php?sec=newid=noflash'Click here/a if 
you cannot see the animation above./font/ppfont face='Verdana, Arial, 
Helvetica, sans-serif' size='1' color='#99'copy; Copyright 2002, Delaplaine 
Creative.br All rights reserved./font/p/tdtd align='center'nbsp;/td/tr;
$message.= /tablepnbsp;/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




RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Martin Clifford

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 = htmlheadtitle/title;
$message.= meta http-equiv='Content-Type' content='text/html; 
charset=iso-8859-1'/head;
$message.= body bgcolor='#54616E' text='#FF' link='#FF6600' vlink='#99' 
alink='#FF9900';
$message.= centertable width='501' border='0' cellspacing='0' 
cellpadding='0'trtd 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.= pobject classid='clsid:D27CDB6E-AE6D-11cf-96B8-44455354' 
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0'
 width='500' height='300'param name=movie 
value='http://www.delaplaine.net/flashmail/delaplaine.swf'param name=quality 
value=highparam name=menu value=falseparam 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.= trtd align='center'pbr/ppfont face='Verdana, Arial, 
Helvetica, sans-serif' size='1'a 
href='http://www.delaplaine.net/extranet/fm.php?sec=newid=noflash'Click here/a if 
you cannot see the animation above./font/ppfont face='Verdana, Arial, 
Helvetica, sans-serif' size='1' color='#99'copy; Copyright 2002, Delaplaine 
Creative.br All rights reserved./font/p/tdtd align='center'nbsp;/td/tr;
$message.= /tablepnbsp;/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 


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




Re: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Christoph Grottolo

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 = htmlheadtitle/title;
 $message.= meta http-equiv='Content-Type' content='text/html;
 charset=iso-8859-1'/head;
 $message.= body bgcolor='#54616E' text='#FF' link='#FF6600'
 vlink='#99' alink='#FF9900';
 $message.= centertable width='501' border='0' cellspacing='0'
 cellpadding='0'trtd 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.= pobject classid='clsid:D27CDB6E-AE6D-11cf-96B8-
 44455354'

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=highparam name=menu value=falseparam 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.= trtd align='center'pbr/ppfont face='Verdana,
 Arial, Helvetica, sans-serif' size='1'a
 href='http://www.delaplaine.net/extranet/fm.php?sec=newid=noflash'Click
here/a if you cannot see the animation above./font/ppfont
face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#99'copy;
Copyright 2002, Delaplaine Creative.br All rights
reserved./font/p/tdtd align='center'nbsp;/td/tr;
 $message.= /tablepnbsp;/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