Exact Target Email Template without pre-formatted code - html-email

Does anybody know if it's possible to create an exacttarget email template - ET Template NOT a regular htmlPaste email - without any pre-embeded code?
The problem I'm having is ET automatically puts in head and body tags and wraps everything in a 600px wide table.
The 600px wide container overrides my code to make the email responsive for iphones.
Thanks.

Ahh, you must be trying to test a responsive template and email.
Here are a couple of work-arounds:
ExactTarget Support can disable the default headers and footers with a special business rule.
Create a Delivery Profile that includes blank header and footers (either none or blank content areas) and send your tests using a a Guided Send with the Delivery Profile

i beleive you can create a support ticket to update the Default Header & Footer in the Exact target Application.
Responsive Header block should contain:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
Responsive Footer block should contain:
</html>
This will do the trick.
Hope it helps:)

Related

How can an email reply or forward be composed in html emails?

I'm creating a simple email client and I'm having trouble with Reply and Forward in html emails.
When I have the user compose the reply message, how do I append that content to the top of the message? I have done some investigating with how outlook does it by injecting the new message content into a paragraph or div or something like that.
How is it done in general, i.e. gmail, yahoo, etc. How do they figure out where to inject the reply content in the html?
I'm using c# so ideally there is some c# library that can handle this? If not then some idea how it's done generally so I can create a solution for it.
I've read wikipedia's Posting Style article and it gives a good overview of the general idea but nothing about how to do it in html.
Some Background
When composing HTML email, it is important to recognize that email clients have rather limited support for HTML and the level of support varies across email clients.
Because of that, although <div> and CSS are the correct layout tools for web pages, that is not true for HTML email. Even today, use <table> for layout control for HTML emails.
Additionally, the only reliable means to apply CSS is to the HTML elements with a style= attribute on each element. CSS declarations in a <head> section are often ignored by the email client. When crafting HTML email, I actually use CSS in the <head> and, once it looks correct, use this page to convert the HTML to use style= attributes. There are other options.
Not only will the <head> tag often be ignored, but so will any <body> tag.
Solving Your Problem
I would suggest placing the text included in the reply within a table (with a single <tr> and single <td>), and applying an inline CSS style to that table. That allows you to apply formatting, such as placing a colored bar down the left-hand side, italicizing the text, etc.).

ColdFusion cfmail how do I keep the formatting

In my ColdFusion program I create email (HTML/CSS) for one or many recipients, and place it in a .cfm file. The email is nicely formatted. When I run the saved file as a program, the cfmail tag sends the email along to whomever, and that is all working. However, along the way, my formatting gets lost. I understand that there is no reason for my local CSS to be functioning when the email gets to its target. But it would be nice if I could preserve the formatting I started with.
Does anyone have a suggestion about how I might do this.
If you're not including the attribute type="html" in your cfmail tag, that could be affecting the formatting of your email. Also, within the cfmail tag, embed your style within in addition to your content. For example:
<cfmail from="foo#bar.com" to="foobar#bar.com" subject"test" server="mymailserver" type="html">
<html>
<head>
<style>
.test { color: ##cc0000; }
</style>
</head>
<body>
<div class="test">This email is in red</div>
</body>
</html>
</cfmail>
Styling emails can be tricky as it's different across clients - there are whole blog articles devoted to this. For example, styles in the head section get ignored in some clients and recognised in others. Sadly, inline styles seems to be the "best" approach.
There is a good overview on the campaign monitor website of what works if which clients:
https://www.campaignmonitor.com/css/
Mailchimp have a handy tool which will inline styles for you based on your HTML/CSS:
http://templates.mailchimp.com/resources/inline-css/
It's also worth including a plain text version for maximum compatibility. You can do that like this:
<cfmail to="someone#somewhere.xyz"
from="me#here.xyz"
subject="Hello!"
type="html">
<cfmailpart type="text/plain" wraptext="60">
Hello,
This is plain text version
</cfmailpart>
<cfmailpart type="text/html">
<h3>Hello</h3>
<p>This is <b style="color:red;">HTML</b> version</p>
</cfmailpart>
</cfmail>

Link within email that opens a dialog

Ok, I have a client with a peculiar request. He wants to receive an (generated by a workflow) email with a hyperlink that will open a pop-up dialog if you click on it. Note: the link within the email should open a popup and not a web page in a browser.
I immediately thought this would be impossible, but after looking around a bit I found out that you can create a workflow variable with tags in them and insert them into the email body.
eg: here
The conclusion that I draw from this is that an email consists of html code that the email client renders. Now I'm wondering if there is a way to make use of a tag no cause a modal dialog to pop up?
I guess the question is what functionality the email client (Microsoft Outlook) supports. I can't figure how to attach some JavaScript or something that will be used by Outlook. Is there perhaps some embedded functionality within Outlook to accomplish this?
That is very easy. Use this sample code and understand how it works with just normal "mailto" function:
<!DOCTYPE html>
<html>
<body>
<p>
This is an email link:
<a href="mailto:someone#example.com?Subject=Hello%20again">
Send Mail</a>
</p>
<p>
</p>
</body>
</html>
use
window.open('example.html',400,600) ​;
in your HTML code..
Also Refer this link for the answer of your question
http://www.coderanch.com/t/121512/HTML-CSS-JavaScript/Opening-popup-JS-outlook-mails

HTML Emails appear blank in Yahoo

Im trying to install a good newsletter script for some basic email marketing. The thing is that my yahoo just dont want to display HTML emails. I sent some html test emails to myself through several scripts and from my yahoo account aswell,but all appear blank.
It's quite odd because my magento's html emails are being received correctly,but others [ and even YAHOO emails! ] arent.
Does anyone know why is this happening?
Changed the content type and encoding in the settings for each of the velocity templates to HTML / UTF-8
Added a to each of the emails with the standard charset="UTF-8" declaration. Maybe Yahoo doesn't strip out the head like most other email clients.
Added the HTML 4.01 strict declaration to the top of the email:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
I just ran into this problem myself.
Here is what I found:
Older article, but still useful:
they recommend:
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
Which seems to work for everyone except Yahoo.
Instead, use the following for Yahoo:
<!doctype html>

HTML and Plaintext email messages appropriate way to include a hyperlink in both?

Emails sent with html are obviously able to easily contain hyperlinks to web resources. What I want to understand is how best to include those links in a plaintext portion of the email?
Does this have any affect on spam ?
For example, our IT management system sends out emails and occasionally we encounter a customer that is ending up with system messages in their spam.
The system handles tickets and notifies the user when they are updated or modified so they know to go back to the site to check the status of their ticket.
The HTML portion would like something like:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>Short description: can't see web content hosted on phoenix</div><div>Assigned to: .... </div>
<div>Assignment Group: ...</div>
<div>Priority: 4 - Standard</div>
<div>Click here to view:
LINK-INC999999
</div>
<div>Ref:MSG951683</div>
</body>
</html>
And the plaintext portion would like something like:
Short description: can't see web content hosted on phoenix
Assigned to: ...
Assignment Group: ...
Priority: 4 - Standard
Click here to view: LINK-INC999999
Ref:MSG951683
In this plaintext portion what is most appropriate way to include the same hyperlink so a user can easily see this link whether they prefer email in plaintext or html ?
I don't know about the spam implications, but plain text does not have hyperlinks. Some email clients will render a link on any text that starts with a URI schema (http://, https://, mailto: etc...), however you can't rely on that.
If you want people viewing plaintext to be able to use the link, you should render it on a line on its own. Then they can copy/paste into a browser if they wish to.