Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Per Jessen
Scott Wilcox wrote: > I personally think many, many mail servers will block any mail with > X-Mailer containing PHP. Purely because there are an insane number of > chances that its going to be spam. No sane mailserver or mailserver admin will block an email purely based on an X-Mailer: header.

Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Scott Wilcox
I personally think many, many mail servers will block any mail with X-Mailer containing PHP. Purely because there are an insane number of chances that its going to be spam. This is purely based on my opinion though, I'd expect others on the list to share it or be similar in viewpoint though.

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Per Jessen
tedd wrote: > I've been told that using: > > $headers .= "X-Mailer: PHP ".phpversion().$eol; > > is a good way to get stuck in a spam filter -- what do you think? It wouldn't get you stuck in our filters. Personally I never add an X-Mailer when generating emails with PHP or bash or whatever -

Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Jason Pruim
On Nov 16, 2007, at 9:15 AM, Scott Wilcox wrote: I personally think many, many mail servers will block any mail with X-Mailer containing PHP. Purely because there are an insane number of chances that its going to be spam. This is purely based on my opinion though, I'd expect others on the

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Zoltán Németh
2007. 11. 16, péntek keltezéssel 09.09-kor tedd ezt írta: > At 7:29 PM +0100 11/15/07, Per Jessen wrote: > >Brad wrote: > > > >> Why is php refusing to parse as html? > > > >Here your code cut down to what you need: > > > >$headers = "From: \"".$fromname."\" <".$fromaddress.">".$eol; > >$headers

Re: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread Daniel Brown
On Nov 16, 2007 9:15 AM, Scott Wilcox <[EMAIL PROTECTED]> wrote: > I personally think many, many mail servers will block any mail with > X-Mailer containing PHP. Purely because there are an insane number of > chances that its going to be spam. > > This is purely based on my opinion though, I'd expe

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread tedd
At 7:29 PM +0100 11/15/07, Per Jessen wrote: Brad wrote: Why is php refusing to parse as html? Here your code cut down to what you need: $headers = "From: \"".$fromname."\" <".$fromaddress.">".$eol; $headers .= "X-Mailer: PHP ".phpversion().$eol; $headers .= "MIME-Version: 1.0\r\n"; $heade

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-16 Thread tedd
Hi gang: I didn't catch it and I'm too lazy to look it up, but someone in this thread provided this reference: http://www.bath.ac.uk/bucs/email/anatomy.shtml There was a similar thread going on a different list and I was told: Or RFCs 2821 and 2822 (the URL above refers to RFC 822, which ha

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Daniel Brown wrote: On Nov 15, 2007 9:41 AM, Brad <[EMAIL PROTECTED]> wrote: Beginning with $headers .= "--".$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem? Negative. It's client-side error E304, resulting from a null-pointer

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
niel Brown'; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: > Beginning with > $headers .= "--".$htmlalt_mime_boundary.$eol; > It starts to read it as text and not html?? > > Could this be a server side problem? > > $email =

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
> No access to the server command line to install it! > And, I am into this guy too deep to switch technologies. For the next time > around, no problem, this time I am just trying to get php to do what it is > supposed to do. [sarcastic]Rough install.[/sarcastic] If you can write a php script, y

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread admin
Understand your syntax issue has nothing to do with the mail function its self. That was an Operator headspace Issue. Including links in email is not hard your entire email structure was BLOWN UP... For you to even submit that to php.net is useless. A. No one is going to post that. Because it has

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
hat's probably going to confuse the hell out of you so I won't mention it. D'oh! * This code is not secure. It's trivial to inject headers (and a body too) into the message. You should be validating that $_REQUEST['email'] is a valid email address and just a vali

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
15, 2007 10:16 AM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: No access to the server command line to install it! And, I am into this guy too deep to switch technologies. For the next time around, no problem, this time I am just trying to get php t

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
> Next time Brad, please try to take a look yourself at the line the error > indicates (and the lines around it aswell) and TRY to figure out what > MIGHT be wrong. > > - Tul If it's not on the line it reported, it may be immediately above that line. The only unhelpful error I've seen (once y

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
> Still parsing as text and not html! You should be able to do this in both PHPmailer and "Example 1127. Sending HTML email" before I finish reading the 60 emails I have remaining to catch up on this list. Including any download. ___

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Instruct ICC
> We are sending email now, > But we are back to the original problem, > No hyperlink! > > $email = $_REQUEST['email'] ; > $fromaddress .= '[EMAIL PROTECTED]'; > $fromname .= 'Zone of success Club'; > $eol="\r\n"; > $headers .= "From: ".$fromname."<".$fromaddress.">".$eol; > $headers .= "Reply-To:

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 11:10 AM, Stut <[EMAIL PROTECTED]> wrote: > Daniel Brown wrote: > > On Nov 15, 2007 9:41 AM, Brad <[EMAIL PROTECTED]> wrote: > >> Beginning with > >> $headers .= "--".$htmlalt_mime_boundary.$eol; > >> It starts to read it as text and not html?? > >> > >> Could this be a server side

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread M. Sokolewicz
t;Content-Transfer-Encoding: 8bit".$eol.$eol; $body.= 'http://www.zoneofsuccessclub.com'">link '; $msg .= $body.$eol.$eol; mail($email, $subject, $msg, $headers); Yields Parse error: parse error, unexpected T_STRING in /home/zoneof5/public_html/index.php on

RE: [PHP] Cannot send a hyperlink (resent)

2007-11-15 Thread Per Jessen
Brad wrote: > Why is php refusing to parse as html? Here your code cut down to what you need: $headers = "From: \"".$fromname."\" <".$fromaddress.">".$eol; $headers .= "X-Mailer: PHP ".phpversion().$eol; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=\"iso-88

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
No problem! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:37 AM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: > Thank you so much! > > It worked like a champ first try! > I woul

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Not a single reference to sending a hyperlink on that page! -Original Message- From: Dimiter Ivanov [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 11:27 AM To: Brad Cc: Stut; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink On Nov 15, 2007 5:34 PM, Brad

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Per Jessen
Brad wrote: > Why is php refusing to parse as html? Here your code cut down to what you need: $headers = "From: \"".$fromname."\" <".$fromaddress.">".$eol; $headers .= "X-Mailer: PHP ".phpversion().$eol; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=\"iso-88

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 11:20 AM, Stut <[EMAIL PROTECTED]> wrote: > Daniel Brown wrote: > > On Nov 15, 2007 11:10 AM, Stut <[EMAIL PROTECTED]> wrote: > >> Daniel Brown wrote: > >>> On Nov 15, 2007 9:41 AM, Brad <[EMAIL PROTECTED]> wrote: > Beginning with > $headers .= "--".$htmlalt_mime_boundary.

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Dimiter Ivanov
On Nov 15, 2007 5:34 PM, Brad <[EMAIL PROTECTED]> wrote: > Thank you so much! > > It worked like a champ first try! > I would have never seen that and have been looking everywhere on the net for > a working example! > > Funny thing is, right after is work perfectly twice, my database crashed! > > B

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Daniel Brown wrote: On Nov 15, 2007 11:10 AM, Stut <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: On Nov 15, 2007 9:41 AM, Brad <[EMAIL PROTECTED]> wrote: Beginning with $headers .= "--".$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side probl

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
to post this code on the php website for others to reference! Thank you! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:16 AM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: > No access to

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread T . Lensselink
.$eol; > $body .= "--".$htmlalt_mime_boundary.$eol; > $body .= "Content-Type: text/html; charset=iso-8859-1".$eol; > $body .= "Content-Transfer-Encoding: 8bit".$eol.$eol; > $body = "http://www.zoneofsuccessclub.com\";>link \n"; > mail($email

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Daniel Brown
On Nov 15, 2007 9:41 AM, Brad <[EMAIL PROTECTED]> wrote: > Beginning with > $headers .= "--".$htmlalt_mime_boundary.$eol; > It starts to read it as text and not html?? > > Could this be a server side problem? Negative. It's client-side error E304, resulting from a null-pointer exception betwe

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
#x27;re on right now. Seriously. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:46 AM To: Brad Cc: 'Daniel Brown'; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: Begi

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
r-Encoding: 8bit".$eol.$eol; $body = "http://www.zoneofsuccessclub.com\";>link \n"; mail($email, $subject, $body, $headers); -Original Message- From: Per Jessen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:48 AM To: php-general@lists.php.net Subjec

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
ders); You should not have a mime boundary in your headers. Why not use PHPMailer? All this (apparently) complicated stuff is already implemented for you. Either that or spend a few days learning about the structure of emails by following the links Daniel Brown sent you a few emails ago. PHPMa

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Per Jessen
Brad wrote: > Beginning with > $headers .= "--".$htmlalt_mime_boundary.$eol; > It starts to read it as text and not html?? > > Could this be a server side problem? Nope. > $email = $_REQUEST['email'] ; > $fromaddress .= '[EMAIL PROTECTED]'; > $fromname .= 'Zone of success Club'; > $eol="\r\n";

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
cated stuff is already implemented for you. Either that or spend a few days learning about the structure of emails by following the links Daniel Brown sent you a few emails ago. PHPMailer can be found here: http://phpmailer.sf.net/ -Stut -- http://stut.net/ -Original Message- From: D

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
s .= "Content-Transfer-Encoding: 8bit".$eol.$eol; $body = "http://www.zoneofsuccessclub.com\";>link \n"; mail($email, $subject, $body, $headers); -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:09 AM To: Bra

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 11/14/2007 4:54 PM -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:09 AM To: Brad Cc: [EMAIL PROTECTED]; php-general@lists.php.net Subject: Re: [PHP] Cannot send a h

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
quot;.$eol.$eol; $body.= 'http://www.zoneofsuccessclub.com'">link '; $msg .= $body.$eol.$eol; mail($email, $subject, $msg, $headers); Yields Parse error: parse error, unexpected T_STRING in /home/zoneof5/public_html/index.php on line 76 -Original Message-

RE: [PHP] Cannot send a hyperlink

2007-11-14 Thread Brad
iso-8859-1".$eol; $msg .= "Content-Transfer-Encoding: 8bit".$eol.$eol; $body.='link '; $msg .= $body.$eol.$eol; mail($to, $subject, $msg, $headers); ?> -Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, November 11, 2007 7

Re: [PHP] Cannot send a hyperlink

2007-11-14 Thread Daniel Brown
Brad, That code is a mess and highly incorrect, even at a novice level. Let me give you a hand On Nov 14, 2007 10:31 AM, Brad <[EMAIL PROTECTED]> wrote: > I implemented the proposed code, and emails are not being sent? > > Any suggestions? > > Here is the code > > > $email = $_REQU

RE: [PHP] Cannot send a hyperlink

2007-11-11 Thread admin
$msg .= "Content-Type: text/html; charset=iso-8859-1".$eol; $msg .= "Content-Transfer-Encoding: 8bit".$eol.$eol; $msg .= $body.$eol.$eol; mail($to, $subject, $msg, $headers); -Original Message- From: M. Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Sunday, N

Re: [PHP] Cannot send a hyperlink

2007-11-11 Thread M. Sokolewicz
SMTP traffic). [iz bad (tm)] - Tul You can use the database to generate the $E_MAIL address and the $to Never Ever had this to not work. Your problem is the Headers are missing which allows the html content to embed into the email. Try that I think you will be happy. -Original Messag

RE: [PHP] Cannot send a hyperlink

2007-11-11 Thread admin
ssage----- From: Brad [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 2:36 PM To: php-general@lists.php.net Subject: [PHP] Cannot send a hyperlink I am having trouble send an email with a hyperlink Php is parsing html as text If I add the proper header information to ?make it w

Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Stut
ic PHP. If you can't see what's wrong with the above then you are lacking some foundation knowledge of PHP. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 4:55 PM To: Brad Cc: 'Jochem Maas'; php-gene

RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
sage, "From: $email" ); ?> (Send the mail, when I put $headers in, the function quits working all together.) I hope this helps explain where my head is! Brad -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 4:55 PM To: Brad Cc: 'Jochem

RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
: Re: [PHP] Cannot send a hyperlink Brad wrote: > I am not sure that would help. I am. > Just another can of worms. no, not really, not at all. > The $_REQUEST is tied into a whole bunch of database functions. wtf. $_REQUEST is a super global - nothing what so ever to do with databases.

Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Stut
nd nothing else. Really bad idea. -Stut -- http://stut.net/ -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 3:44 PM To: Brad Subject: Re: [PHP] Cannot send a hyperlink this will help: http://phpmailer.sourceforge.net/ Brad wrote: I

Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Jochem Maas
.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; > mail( $email, "Your FREE book from Zone of Success Club .com", > $headers, $message, "From: $email" ); > ?> > > -Original Message----- > From: Jochem Maas [mailto:

RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
t;\r\n"; mail( $email, "Your FREE book from Zone of Success Club .com", $headers, $message, "From: $email" ); ?> -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 3:44 PM To: Brad Subject: Re: [PHP] Cannot send