Adding a picture to Email signature

Crookedfoot

Premium Member
Joined
Aug 6, 2002
Messages
1,077
Reaction score
0
Location
Middle of Nowhere
Website
www.battleforums.com
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.

 

Stryder

BattleForums Senior Member
Joined
Sep 14, 2003
Messages
2,463
Reaction score
0
Well i just upload it to a site to host it then give him the url.

But not sure if Email allows html.
 

Sakuhta

BattleForums Senior Member
Joined
Jun 9, 2003
Messages
3,019
Reaction score
0
Location
Texas
They do, but Junk Mail folders won't show the pictures/HTML unless the person enables it to.
 

x42bn6

Retired Staff
Joined
Nov 11, 2002
Messages
15,150
Reaction score
2
Location
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.
 

Ebay.God

Member!
Joined
Jul 15, 2003
Messages
1,785
Reaction score
0
Location
Canada
Website
www.xtreme-host.net
um....its not that hard...

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

replaces the { and } with < and >
 

borednerd

Premium Member
Joined
Aug 16, 2003
Messages
794
Reaction score
0
Location
Roscow Mussia
Website
www.gamerzfx.net
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
 
Top