hi my boss told me if I could design html mail for the company. I told yes though i was not sure. i know html and css. I know designing html mail is nothing but designing simple webpage. But I am worried about images and css. I could design the page. but how to send as e-mail. plz help.
You would be better off creating a PHP email system than HTML. There are plenty of TUT's on the internet, or I can write a simple mock-up for you if you like?
could use one of the services to send the mails like mailchimp or campaignmonitor.com, course those cost. If you wanted to set it up in-house, phplist is probably the most well known. http://www.phplist.com/
its better to use php, there are way too many email based scripts available , most of the php scripts ( community based) do contain the php mail system. The easiest way is using php mail() function.
I also haven't done this before, but what I guess, you first should design your mail in frontpage or using any HTML editor the simple copy paste in the mail, one thing make sure that images should be visible to receivers if he/she has enabled his html for this you have to take care of the images path and upload image accordingly........
Try this code: if(isset($_POST['submit'])) /* use post method in your e-mail html form where submit button name='submit' */ { $to=$_POST['to']; /*HTML to input text box name='to'*/ $msg=$_POST['msg']; /*HTML textarea text box name='msg'*/ $sub=$_POST['sub']; /*HTML subject input text box name='sub'*/ mail($to, $sub, $msg); /*youe e-mail send */ exit: } /*close php tag your html form here*/