RE: [PHP] Send $out embedded in a mail in HTML FORMAT

From: Date: Sun, 03 Nov 2002 14:59:34 +0000
Subject: RE: [PHP] Send $out embedded in a mail in HTML FORMAT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-122559@lists.php.net to get a copy of this message
Search the archives or google for HTML email with PHP and you'll get a ton of examples. You just have to send a Content-Type: header to tell the mail reader it's HTML. ---John Holmes... > -----Original Message----- > From: Kevin Fradkin [mailto:kfradkin@ciudad.com.ar] > Sent: Saturday, November 02, 2002 7:53 PM > To: php-general@lists.php.net > Subject: [PHP] Send $out embedded in a mail in HTML FORMAT > > I read from a template, insert data and save it as a new file with html > code... > i want to send that file that is the same as $out via mail embedded in > it... > > i do > > $fifi = fopen > ('/'.$cursada.$cuatrimestre.'/'.$registronro.'.htm', "w"); > $fp = $fifi; > fputs ($fifi, $out . ""); > fclose ($fifi); > mail("mymail@justtoknow.com", "subject",$out , "From: website"); > > but when i receive that mail.. i get the source of the file with <html> > <body> bla bla bla.... not in HTML FORMAT.. > > thnx in advance!.. > > Spooky > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#122559) next »