help with html mail

Discussion in 'HTML & Website Design' started by jinnah, Mar 21, 2010.

  1. #1
    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.
     
    jinnah, Mar 21, 2010 IP
  2. Daniel Minett

    Daniel Minett Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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?
     
    Daniel Minett, Mar 21, 2010 IP
  3. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #3
    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/
     
    shallowink, Mar 21, 2010 IP
  4. more_sem

    more_sem Peon

    Messages:
    299
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    more_sem, Mar 21, 2010 IP
  5. jewels1

    jewels1 Active Member

    Messages:
    118
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    53
    #5
    or you can also download a free off-the-shelf one.
     
    jewels1, Mar 21, 2010 IP
  6. jinnah

    jinnah Active Member

    Messages:
    198
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    It would be great if you kindly do me that favor. tnx in advance.
     
    jinnah, Mar 30, 2010 IP
  7. bparashar

    bparashar Peon

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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........
     
    bparashar, Apr 1, 2010 IP
  8. ashraful88

    ashraful88 Active Member

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #8
    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*/
     
    ashraful88, Apr 17, 2010 IP