Table in Email Message with PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
khurram_micro
Forum Newbie
Posts: 6
Joined: Mon Aug 24, 2009 4:56 am
Contact:

Table in Email Message with PHP

Post by khurram_micro »

Hi friends
I want to send email with the help of PHP but i want to create a proper Excel Sheet with in email message and then i will send .. Can any one will help me how to code or from where to get help i tried alot but :banghead:
Thanx in advance for all help
amargharat
Forum Commoner
Posts: 82
Joined: Wed Sep 16, 2009 2:43 am
Location: Mumbai, India
Contact:

Re: Table in Email Message with PHP

Post by amargharat »

You have to send mail by setting its mime type as html, so that whatever your html about table will be converted into table.

you have set headers for that in your mail functions.

Code: Select all

$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
Post Reply