Tomas Smith
Tomas Smith

Reputation: 427

Email sending in HTML

I wanted to send simple html code to email but in outlook it apears as a html code not images and text styled.

Should I include any more code so that outlook would recognize it as email and will not display the message as html code?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Dragooon</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#e2e3e7" style="font-family:Arial, Helvetica, sans-serif;">
<table id="Table_01" width="602" align="center" height="3401" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td rowspan="10">
            <img style="display:block" src="/images/Concept1_01.gif" width="1" height="394" alt=""></td>
        <td colspan="47">
            <img style="display:block" src="/images/Concept1_02.gif" width="600" height="56" alt=""></td>
        <td>
            <img style="display:block" src="/images/spacer.gif" width="1" height="56" alt=""></td>
    </tr><td>
            <img style="display:block" src="/images/spacer.gif" width="1" height="1" alt=""></td>
        <td></td>
    </tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>

Upvotes: 0

Views: 303

Answers (2)

filype
filype

Reputation: 8390

Your images are missing because you need to add the domain in front of it for example:

    <td rowspan="10">
        <img style="display:block" src="http://test.com/images/Concept1_01.gif" width="1" height="394" alt=""></td>
    <td colspan="47">
        <img style="display:block" src="http://test.com/images/Concept1_02.gif" width="600" height="56" alt=""></td>
    <td>
        <img style="display:block" src="http://test.com/images/spacer.gif" width="1" height="56" alt=""></td>
     </tr><td>
        <img style="display:block" src="http://test.com/images/spacer.gif" width="1" height="1" alt=""></td>
    <td></td>

Upvotes: 1

Ricky Gummadi
Ricky Gummadi

Reputation: 5240

I think this might put you on the right track

http://www.emailaddressmanager.com/tips/html-email.html

Upvotes: 0

Related Questions