[PHP] Re: php +html mail

2007-03-17 Thread Haydar TUNA
Hello, If you are new to php or other web technologies, you can find many information,examples about PHP and other web technologies in http://www.w3schools.com/ web sites. This is a great web site for web technology education. :) -- Haydar TUNA Republic Of Turkey - Ministry of National

Re: [PHP] HTML Mail script reading text from MySQL

2006-06-02 Thread Tom Chubb
Sorry Mark, What I meant is say a page outputs an HTML table eg: table width=100 cellspacing=0 cellpadding=0 tr tda/td tdb/td tdc/td tdd/td tde/td /tr tr tdf/td tdg/td tdh/td tdi/td tdj/td /tr tr tdk/td tdl/td tdm/td tdn/td tdo/td /tr tr

Re: [PHP] HTML Mail script reading text from MySQL

2006-06-02 Thread Tom Chubb
I've just read a similar post and think that I should use file_get_contents and the preg_match for the table /table tags. ...But if anyone knows a better way I'm all ears! On 02/06/06, Tom Chubb [EMAIL PROTECTED] wrote: Sorry Mark, What I meant is say a page outputs an HTML table eg: table

Re: [PHP] HTML Mail script reading text from MySQL

2006-06-02 Thread Rabin Vincent
On 6/2/06, Tom Chubb [EMAIL PROTECTED] wrote: What I meant is say a page outputs an HTML table eg: table width=100 cellspacing=0 cellpadding=0 [snipped] /table But I want to get that code into the $message variable. I have written many mail scripts before it's just getting the data into the

Re: [PHP] HTML mail being sent with mail() not working for some people

2003-03-27 Thread Jeff Lewis
A bit more information on this...here is the code being used: $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; /* additional headers */ $headers .= From: Jeff [EMAIL PROTECTED]\r\n; $message = test; mail ('[EMAIL PROTECTED]', 'Quote of the Week

RE: [PHP] HTML mail being sent with mail() not working for some people

2003-03-27 Thread Don Read
On 27-Mar-2003 Jeff Lewis wrote: We're sending out emails using mail() and sending it in HTML format and while most people get it correctly a couple are not. They get the anti-abuse headers and then the HTML code appears as just that - HTML code in the body of the email. Sending those

Re: [PHP] html mail

2003-03-10 Thread Mark Heintz PHP Mailing Lists
The PEAR Mail_mime class tends to take the headache out of this sort of thing. See the example at the bottom of the manual page: http://pear.php.net/manual/en/core.mail.mime.php mh. On Mon, 10 Mar 2003, [iso-8859-1] Ian A. Gray wrote: Hi, I am quite new to php and I am trying to find a way

Re: [PHP] html mail

2003-03-10 Thread Jason Wong
On Monday 10 March 2003 22:46, Ian A. Gray wrote: The pear class looks great, unfortunately my server doesn't have pear yet. :-( I didn't realise it was an either/or situation for sending html or text only e-mails. I thought you could send one e-mail which has the content in text-only and

Re: [PHP] html mail

2003-03-10 Thread Dickon Newman
There is a technique to make a large comment at the top of your html based email, which would be your content readable by the users who have text-only. Granted all the html code would be at the bottom. I saw it done in a newsletter or two, very cleaver and effective! Dickon... - Original

Re: [PHP] html mail

2003-03-10 Thread Frank Keessen
Hi, I found this one and it's quite handy; http://phpmailer.sourceforge.net/ Regards, Frank - Original Message - From: Ian A. Gray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 10, 2003 2:47 PM Subject: [PHP] html mail Hi, I am quite new to php and I am trying to find

Re: [PHP] html mail

2002-04-24 Thread Jason Wong
On Wednesday 24 April 2002 18:59, Wilbert Enserink wrote: Hi all, I'm studying some mail scripts written in php. When sending html mail the scripts all use a method that involves sending an html file as attachment. Why not use the mailsend function and send a string containing the whole

Re: [PHP] html mail

2002-04-24 Thread Miguel Cruz
On Wed, 24 Apr 2002, Wilbert Enserink wrote: I'm studying some mail scripts written in php. When sending html mail the scripts all use a method that involves sending an html file as attachment. Why not use the mailsend function and send a string containing the whole html code? Because

RE: [PHP] HTML mail

2001-09-06 Thread Jason Murray
How would you send HTML mail using the mail() function in PHP. You need to use a MIME email - HTML goes as text/html, and graphics go as file attachments. Simple way to produce a MIME email: http://planetkiller.shadow.net.au/mime-php.txt Jason -- PHP General Mailing List

Re: [PHP] HTML mail

2001-09-06 Thread Alex Shi
Hi Sid, Following link is an article about sending MIME email in php: http://www.phpbuilder.com/columns/kartic2807.php3 But I think it is too complicated for me to read:((. I suggest you can try following instead: example $email_address=[EMAIL PROTECTED]; $subject=anything you can do;

Re: [PHP] HTML mail

2001-08-30 Thread jacky
you add this into your header bit: $headers .= Content-Type: text/html; charset=iso-8859-1\n; HTH Jack - Original Message - From: Rosen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 5:18 PM Subject: [PHP] HTML mail Hi, how can I send HTML mail via mail()

Re: [PHP] HTML mail

2001-08-30 Thread Andrey Hristov
Try this : ?php $EMAIL = array( 'plain' = Haha hoho hehe , 'html' = htmlfont size=3Haha hoho hehe/font/html ); $headers='From: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: multipart/alternative; boundary==_4195058==_.ALT '; $message = '