[PHP] html email showing br instead of line breaks

2009-09-24 Thread Adam Williams
I have users enter support tickets into a a textarea form and then it emails it to me, I'm trying to get the emails to display when they hit enter correctly, so i'm changing the \r\n to br, but in the email i'm getting, its displaying the br instead of a line break: here is the code:

Re: [PHP] html email showing br instead of line breaks

2009-09-24 Thread Jonathan Tapicer
\r\n should be between double quotes: \r\n On Thu, Sep 24, 2009 at 3:52 PM, Adam Williams awill...@mdah.state.ms.us wrote: I have users enter support tickets into a a textarea form and then it emails it to me, I'm trying to get the emails to display when they hit enter correctly, so i'm

Re: [PHP] html email showing br instead of line breaks

2009-09-24 Thread Adam Williams
Thanks, i'll try that. what is the difference in using '' and ? I thought they were interchangeable. Jonathan Tapicer wrote: \r\n should be between double quotes: \r\n -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] html email showing br instead of line breaks

2009-09-24 Thread Adam Williams
oh nevermind, i see double quotes translate the \r\n to its appropriate EOL character. Adam Williams wrote: Thanks, i'll try that. what is the difference in using '' and ? I thought they were interchangeable. Jonathan Tapicer wrote: \r\n should be between double quotes: \r\n --

Re: [PHP] html email showing br instead of line breaks

2009-09-24 Thread Jonathan Tapicer
Double quotes accept special characters and string interpolation, see the manual: http://php.net/manual/en/language.types.string.php On Thu, Sep 24, 2009 at 4:00 PM, Adam Williams awill...@mdah.state.ms.us wrote: Thanks, i'll try that.  what is the difference in using '' and ?  I thought they

Re: [PHP] html email showing br instead of line breaks

2009-09-24 Thread Fernando Castillo Aparicio
] html email showing br instead of line breaks I have users enter support tickets into a a textarea form and then it emails it to me, I'm trying to get the emails to display when they hit enter correctly, so i'm changing the \r\n to br, but in the email i'm getting, its displaying the br instead

Re: [PHP] html email showing br instead of line breaks

2009-09-24 Thread Ben Dunlap
\r\n should be between double quotes: \r\n I think you'll still see the literal brs in your final email, though because htmlspecialchars() is converting the angle-brackets in the tag to their respective HTML entities (lt; for and gt; for ). A bit of a thorny problem because you probably do

Re: [PHP] HTML Email Composing Problem.

2007-07-29 Thread Chris
Tom Ray [Lists] wrote: Chris wrote: Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Chris
Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6 HTML_SHORT_LENGTH BODY: HTML is

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Richard Heyes
0.6 HTML_SHORT_LENGTH BODY: HTML is extremely short Well, lengthen it then. 1.5 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding Don't do that. Use plain text or quoted printable. Any help/suggestions would be appreciated. Try HTML MIME mail - it does every

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Tom Ray [Lists]
Chris wrote: Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6 HTML_SHORT_LENGTH

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 11:01 am, Tom Ray [Lists] wrote: I would have to agree with you Chris, there a many legitimate reasons for having HTML mail. I was trying to be a nice guy and send both the plain text version and the html version out but like I said, I couldn't get it to stop displaying

[PHP] HTML Email Composing Problem.

2007-07-26 Thread Tom Ray [Lists]
I'm trying to use PHP to compose an HTML formatted email and I'm running into some small problems. 1) When using Content-Type: multipart/mixed during my testing both Thunderbird and Gmail display the plain text and html version of the email and Firefox attaches the html portion as an

Re: [PHP] HTML Email Composing Problem.

2007-07-26 Thread Richard Lynch
On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6 HTML_SHORT_LENGTH BODY: HTML is extremely short 0.0

[PHP] HTML email problem: IMAP

2004-02-20 Thread Ryan A
Hi, I downloaded a class from php classes called clssendmail, the class was working on a different server but now I get this error when I try to use it: Call to undefined function: imap_8bit() in. The class is basically to send an email in 2 parts, plain text and HTML...if the person

[PHP] HTML email enconding

2003-11-24 Thread Binay
Hi all, Is it necessary to encode the message using base64 or quoted-printable format while sending the HTML email. What if i don't encode the message i.e (no Content-Transfer-Encoding specified)? Does it impose some security vulnerabilities? Please helpe me out Thanks in advance Binay

Re: [PHP] HTML email enconding

2003-11-24 Thread Eugene Lee
On Mon, Nov 24, 2003 at 02:56:25PM +0530, Binay wrote: : : Is it necessary to encode the message using base64 or quoted-printable : format while sending the HTML email. Not always. Sometimes you can get away with only: Content-Type: text/html; charset=ISO-8859-1

Re: [PHP] HTML email enconding

2003-11-24 Thread Binay
] Sent: Monday, November 24, 2003 3:02 PM Subject: Re: [PHP] HTML email enconding On Mon, Nov 24, 2003 at 02:56:25PM +0530, Binay wrote: : : Is it necessary to encode the message using base64 or quoted-printable : format while sending the HTML email. Not always. Sometimes you can get away

Re: [PHP] HTML email enconding

2003-11-24 Thread Eugene Lee
On Mon, Nov 24, 2003 at 03:33:57PM +0530, Binay wrote: : : So does it mean that if i don't encode the message then no need of : specifying the Content-Transfer-Encoding?? : And almost all mail client will interpret it correctly?? No. If your HTML message is guaranteed to be in the ISO-8859-1

Re: [PHP] HTML email enconding

2003-11-24 Thread Nathan Taylor
] Sent: Monday, November 24, 2003 5:19 AM Subject: Re: [PHP] HTML email enconding On Mon, Nov 24, 2003 at 03:33:57PM +0530, Binay wrote: : : So does it mean that if i don't encode the message then no need of : specifying the Content-Transfer-Encoding?? : And almost all mail client

[PHP] HTML email problem

2003-11-19 Thread Binay
Hi all, I m sendig out HTML email, using mimemail class which encodes the whole message to be sent in base64 and Content-Transfer-Encoding: is also specified as base64 only. Now one of my client is complaining that he is getting garbage in the email (shown below) after the sign up process in

RE: [PHP] HTML email problem

2003-11-19 Thread Martin Towell
When I send HTML emails, I don't base64 encode it, I just set the content-type to text/html. The mail clients that I've tested it with renders it correctly HTH Martin I m sendig out HTML email, using mimemail class which encodes the whole message to be sent in base64 and

[PHP] HTML email with Outlook

2003-07-15 Thread Tim Thorburn
Hi, I've made a PHP script that sends out an automatic email through my servers cron system, it works well, but I thought I'd try to do some HTML email to get things to line up a little better. To do so, I added the following line in my mail() command: -Type: text/html; charset=iso-8859-1

Re: [PHP] HTML email with Outlook

2003-07-15 Thread Jim Lucas
I would take a look at the headers of an email that does render html correctly in outlook and see what you are missing. Trial and error. Jim Lucas - Original Message - From: Tim Thorburn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:48 PM Subject: [PHP] HTML

Re: [PHP] HTML email with Outlook

2003-07-15 Thread Baroiller Pierre-Emmanuel
Hi, try with adding this : $header = Content-Type: text/html; charset=\iso-8859-1\\nContent-Transfer-Encoding: 8bit\n\n; If it don't work, try to build multipart email ... Regards, P.E. Baroiller Tim Thorburn [EMAIL PROTECTED] a écrit dans le message de news:[EMAIL PROTECTED] Hi, I've made a

RE: [PHP] HTML email with Outlook

2003-07-15 Thread Johnny Martinez
$headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; Does this help? Johnny -Original Message- From: Tim Thorburn [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:48 PM To: [EMAIL PROTECTED] Subject: [PHP] HTML email with Outlook Hi

Re: [PHP] HTML email with Outlook

2003-07-15 Thread Curt Zirzow
Tim Thorburn [EMAIL PROTECTED] wrote: Hi, I've made a PHP script that sends out an automatic email through my servers cron system, it works well, but I thought I'd try to do some HTML email to get things to line up a little better. To do so, I added the following line in my mail()

RE: [PHP] HTML email with Outlook

2003-07-15 Thread Johnny Martinez
Remember not all email clients support email. Did I read that right or is it a typo? J -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 4:17 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] HTML email with Outlook Tim Thorburn [EMAIL PROTECTED

RE: [PHP] HTML email with Outlook

2003-07-15 Thread Mike Brum
By the context, I'm sure it should read ...not all email clients support HTML. (I got a laugh out of it though ;) -Original Message- From: Johnny Martinez [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 7:21 PM To: 'Curt Zirzow'; [EMAIL PROTECTED] Subject: RE: [PHP] HTML email

Re: [PHP] HTML email with Outlook

2003-07-15 Thread Manuel Lemos
Hello, On 07/15/2003 07:48 PM, Tim Thorburn wrote: I've made a PHP script that sends out an automatic email through my servers cron system, it works well, but I thought I'd try to do some HTML email to get things to line up a little better. To do so, I added the following line in my mail()

Re: [PHP] HTML email with Outlook

2003-07-15 Thread Tim Thorburn
Thanks to all those who responded, as always, spelling is key. Where I had -Type: text/html ... it should have read Content-Type : text/html ... So it works for now, and hopefully will continue to. I know that there are a number of email programs out there that do not support HTML mail, as

[PHP] HTML email that generates !s - any ideas?

2003-01-08 Thread Philipp Hartmann
Hi everyone, I am new to this list, so this is my first post. I am trying to sen dan HTML email, and so far I got everything running, except for one very odd problem. 1.) I am setting up all my variables within the .php Script. 2.) I generate my HTML email 3.) I am outputting the email to the

Re: [PHP] HTML email that generates !s - any ideas?

2003-01-08 Thread Tom Rogers
Hi, Thursday, January 9, 2003, 7:31:35 AM, you wrote: PH Hi everyone, I am new to this list, so this is my first post. PH I am trying to sen dan HTML email, and so far I got everything running, PH except for one very odd problem. PH 1.) I am setting up all my variables within the .php Script.

RE: [PHP] HTML email that generates !s - any ideas?

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
[mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 9:49 AM To: Philipp Hartmann Cc: [EMAIL PROTECTED] Subject: Re: [PHP] HTML email that generates !s - any ideas? Hi, Thursday, January 9, 2003, 7:31:35 AM, you wrote: PH Hi everyone, I am new to this list, so this is my first post

Re: [PHP] HTML Email Has Random '!'

2002-02-25 Thread Steven Walker
: [PHP] HTML Email Has Random '!' Hi, Has anybody every had problems with random characters showing up in HTML email messages? I've set up an auto-responding email system for product purchasing and registration. The system sends multipart HTML and plain text messages using mail(). However

[PHP] HTML Email Has Random '!'

2002-02-24 Thread Steven Walker
Hi, Has anybody every had problems with random characters showing up in HTML email messages? I've set up an auto-responding email system for product purchasing and registration. The system sends multipart HTML and plain text messages using mail(). However, exclamation points are showing up

RE: [PHP] HTML Email Has Random '!'

2002-02-24 Thread Martin Towell
it's to do with the length of a line - I think it's 1024 - if a lines longer than that, an ! is put there and a new line is made Martin -Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP] HTML

[PHP] HTML Email attachment problem

2002-01-31 Thread Peter Atkins
All, I'm building a tool that takes form input and sends out an html email with a word doc attached. It sends the text and html version of the email but I can't open the attachment. It opens blank. Anyone have a thought or two about this? php snippet if ($attachment) { $fp =

Re: [PHP] HTML Email attachment problem

2002-01-31 Thread Anas Mughal
check out one of many HTML email scripts on hotscripts.com. --- Peter Atkins [EMAIL PROTECTED] wrote: All, I'm building a tool that takes form input and sends out an html email with a word doc attached. It sends the text and html version of the email but I can't open the attachment. It

[PHP] HTML Email

2001-12-18 Thread Gerard Onorato
Okay I know I must be overlooking somethign super obvious but I am trying to send a simple HTML email. It works in Netscape mail, Pegasus etc however in Outlook and Outlook express it actually places the Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit in the

Re: [PHP] HTML Email

2001-12-18 Thread Richard S. Crawford
The very first thing you need to do when thinking about a way to send HTML e-mail is to take plenty of aspirin and lie down until the urge passes and you feel sane again. HTML e-mail bad. Plain text good. At 06:51 AM 12/18/2001, Gerard Onorato wrote: Okay I know I must be overlooking

RE: [PHP] HTML Email

2001-12-18 Thread Richard Heyes
Okay I know I must be overlooking somethign super obvious but I am trying to send a simple HTML email. It works in Netscape mail, Pegasus etc however in Outlook and Outlook express it actually places the Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit

Re: [PHP] HTML Email

2001-12-18 Thread jimtronic
It looks fine to me. The only difference is that I use Content-Transfer-Encoding: quoted-printable, which shouldn't make much of a difference here. A very small misplacement of a newline character or even a space can cause things not to work correctly. Your best course of debugging is to send

Re: [PHP] HTML Email

2001-12-18 Thread Gerard Onorato
Eureka! That seems to have fixed the problem. Now to test on the Mac clients. G On Tue, 18 Dec 2001 23:11:31 +0100, TD - Sales International Holland B.V. wrote: On Tuesday 18 December 2001 15:51, you wrote: Ok, just a guess here I'm not that familiar with writting my own headers What

[PHP] HTML email

2001-10-23 Thread Benny
Please help me. I have problem with html email. I send email to 3 email address : [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED] The email client for yahoo eudoramail is their web. And for the last destination, the email client is ms outlook. The html email for yahoo eudoramail

[PHP] Html email

2001-10-22 Thread Benny
Please help me. I have problem with html email. I send email to 3 email address : [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED] The email client for yahoo eudoramail is their web. And for the last destination, the email client is ms outlook. The html email for yahoo eudoramail

[PHP] Html email with Flash content embedded

2001-10-05 Thread Dhaval Desai
Hi! I am trying to embed a file into my html email that I want to send my friend on Yahoo. I have uploaded the flash file (.swf) on my server. If I try to embed the file as html and send...as an email...nothin can be seen... Is it because... yahoo filtersI am using Php to send it Thanx