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.
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.
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 -
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
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
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
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
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
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
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 =
> 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
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
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
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
> 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
> 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.
___
> 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:
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
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
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
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
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
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
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.
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
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
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
.$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
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
#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
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
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
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";
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
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
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
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-
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
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
$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
[EMAIL PROTECTED] wrote:
The Answer is quiet simple.
$E_MAIL = "[EMAIL PROTECTED]";
$to = "[EMAIL PROTECTED]";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "To: Their Name<[EMAIL PROTECTED]> \r\n";
$headers .= "From: your email
The Answer is quiet simple.
$E_MAIL = "[EMAIL PROTECTED]";
$to = "[EMAIL PROTECTED]";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "To: Their Name<[EMAIL PROTECTED]> \r\n";
$headers .= "From: your email <[EMAIL PROTECTED]>\r\n";
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
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
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.
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
.= '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:
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
48 matches
Mail list logo