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
On 6/2/06, Tom Chubb <[EMAIL PROTECTED]> wrote:
What I meant is say a page outputs an HTML table eg:
[snipped]
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
variable.
Should I be using something like CURL?
I've just read a similar post and think that I should use file_get_contents
and the preg_match for the & 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:
a
Sorry Mark,
What I meant is say a page outputs an HTML table eg:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
But I want to get that code into the $message variable.
I have written many mail scr
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 t
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 th
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
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 Me
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
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 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?
Becaus
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 w
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:
$email_address="[EMAIL PROTECTED]";
$subject="anything you can do";
$email_
> 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 (http://www.php.ne
Try this :
"Haha hoho hehe ",
'html' => "Haha hoho hehe"
);
$headers='From: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_4195058==_.ALT"
';
$message = '
--=_4195058==_.ALT
Content-Type: text/plain; charset
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 "m
16 matches
Mail list logo