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
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
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
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
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
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
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
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
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
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
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
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
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
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;
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()
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 = '
16 matches
Mail list logo