how can i send a HTML email?

时间:2016-04-04 16:38:33

标签: html email html-email

I've being googling already for a couple weeks and cannot find an answer for my question:

Let's say I have the following code:

<!DOCTYPE html>
<html>
<head>
    <style>
* {
    margin: 0;
    padding: 0;
}

#box1 {
    position:absolute;
    background:red;
    //width:150px;
    //height:150px;
    top:10px;
    right:10px;
    left:10px;
    bottom:10px;
}
#box2 {
    position:absolute;
    background:green;
    top:20px;
    right:20px;
    left:20px;
    bottom:20px;
}
#box3 {
    position:absolute;
    background:blue;
    top:130px;
    right:130px;
    left:130px;
    bottom:130px;
}
    </style>
</head>
<body>

<div id="box1"></div>
<div id="box2"></div>
<div id="box3"></div>
</body>
</html>

How can I send this in an email in order that the user just gets an email with the following result?:

Hello World

I'm working on Outlook 2010

2 个答案:

答案 0 :(得分:1)

Click 'New Email', then 'Attach File', select the file containing your HTML code, then click the arrow next to 'Insert' and select 'Insert as Text' from the dropdown. Insert as Text

答案 1 :(得分:0)

You can use Outlook OFT email templates

Save your HTML file as an Outlook OFT email template, then pre-load your email with the OFT template


Read this resource, it will help you.