Adding a picture to Email signature

Discussion in 'Forum Support' started by Crookedfoot, Jul 10, 2004.

  1. Crookedfoot

    Crookedfoot Premium Member

    Joined:
    Aug 6, 2002
    Messages:
    1,077
    Likes received:
    0
    Trophy points:
    0
    From:
    Middle of Nowhere
    Is there a way to add html to an emails signature to display a picture?

    I've asked a few with no luck.
    I know there are utilities that can do it if you route your mail through them, but I'd rather not do that.

    I'd like to add this to BF mailings.

    [​IMG]
     
  2. Stryder

    Stryder BattleForums Senior Member

    Joined:
    Sep 14, 2003
    Messages:
    2,463
    Likes received:
    0
    Trophy points:
    0
    Well i just upload it to a site to host it then give him the url.

    But not sure if Email allows html.
     
  3. Sakuhta

    Sakuhta BattleForums Senior Member

    Joined:
    Jun 9, 2003
    Messages:
    3,018
    Likes received:
    0
    Trophy points:
    0
    From:
    Texas
    They do, but Junk Mail folders won't show the pictures/HTML unless the person enables it to.
     
  4. x42bn6

    x42bn6 Retired Staff

    Joined:
    Nov 11, 2002
    Messages:
    15,150
    Likes received:
    2
    Trophy points:
    38
    From:
    London, United Kingdom
    I believe we can change the content headers of the e-mail so we can allow HTML. But I don't know how to do that.

    Also, as Sak said, a lot of people will have disabled images to protect themselves from being detected (images returning e-mail address existance), and some like Yahoo! disable images unless specified.
     
  5. ProdigiousLucidOsprey

    ProdigiousLucidOsprey Member!

    Joined:
    Jan 23, 2003
    Messages:
    1,723
    Likes received:
    0
    Trophy points:
    0
    From:
    Monterey, Cali
    Its not hard, it just depends on your email client.
     
  6. Crookedfoot

    Crookedfoot Premium Member

    Joined:
    Aug 6, 2002
    Messages:
    1,077
    Likes received:
    0
    Trophy points:
    0
    From:
    Middle of Nowhere
    Aparently the one that comes with the server has no easy way of allowing it.

    Oh well, I tried.

    Thanks guys
     
  7. Ebay.God

    Ebay.God Member!

    Joined:
    Jul 15, 2003
    Messages:
    1,785
    Likes received:
    0
    Trophy points:
    0
    From:
    Canada
    um....its not that hard...

    {html}
    {body}
    {img src="http://www.battleforums.com/images/logo.gif"}
    {/body}
    {/html}

    replaces the { and } with < and >
     
  8. borednerd

    borednerd Premium Member

    Joined:
    Aug 16, 2003
    Messages:
    794
    Likes received:
    0
    Trophy points:
    0
    From:
    Roscow Mussia
    Or use a PHP emailer:
    PHP:
    <?php
    /* recipients */
    $to  "mary@example.com" ", " // note the comma
    $to .= "kelly@example.com";

    /* subject */
    $subject "Birthday Reminders for August";

    /* message */
    $message '
    <html>
    <head>
     <title>Birthday Reminders for August</title>
    </head>
    <body>
    <p>Here are the birthdays upcoming in August!</p>
    <table>
     <tr>
      <th>Person</th><th>Day</th><th>Month</th><th>Year</th>
     </tr>
     <tr>
      <td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
     </tr>
     <tr>
      <td>Sally</td><td>17th</td><td>August</td><td>1973</td>
     </tr>
    </table>
    </body>
    </html>
    '
    ;

    /* To send HTML mail, you can set the Content-type header. */
    $headers  "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

    /* additional headers */
    $headers .= "To: Mary <mary@example.com>, Kelly <kelly@example.com>\r\n";
    $headers .= "From: Birthday Reminder <birthday@example.com>\r\n";
    $headers .= "Cc: [email]birthdayarchive@example.com[/email]\r\n";
    $headers .= "Bcc: [email]birthdaycheck@example.com[/email]\r\n";

    /* and now mail it */
    mail($to$subject$message$headers);
    ?> 
    With the good use of forms and replacing, and do the HTML inside the "$message" however you like. It works for sure, cause ive recieve emails with images from "Michales minute (linspire/lindows)" and it has perfect centering and such, so just with the help of forms and the like, images are possible