Click to See Complete Forum and Search --> : [RESOLVED] HTML Where am I going wrong?


MJH
04-07-2010, 02:03 PM
I am trying to write a HTML newsletter, but when I send it it just sends as code. Can you tell me what I am doing wrong please.


<html>

<CENTER><img src="http://www.gotlingerie.net/images/m…

<CENTER><font size="4">Got Lingerie is now under new management. Make sure you go and have a look around at all our great products. You can now become a fan on Facebook and follow us on Twitter by clicking on the links at the bottom of this email. Feel free to send us suggested catorgries or products you'd like to see.</font></CENTER>




<CENTER><a href="http://www.facebook.com/pages/Got-… TARGET="_blank"><img src="http://www.buttonshut.com/Facebook-… title="Facebook Buttons By ButtonsHut.com" alt="Facebook Buttons By ButtonsHut.com" width="116px" border="0"/></a>
<font size="1"><a href="http://www.buttonshut.com/Twitter-… Buttons</a></font></CENTER>

<CENTER><a href="http://twitter.com/GotLingerie" TARGET="_blank"><img src="http://www.buttonshut.com/Twitter-B… title="Facebook Buttons By ButtonsHut.com" alt="Facebook Buttons By ButtonsHut.com" width="105px" border="0"/></a>
<font size="1"><a href="http://www.buttonshut.com/Twitter-… Buttons</a></font></CENTER>

</html>

Thanks for your help

Chipzzz
04-07-2010, 03:09 PM
I see a couple of things missing.

You should have a header of sorts, including:
Content-type: text/html: CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

Also, you are missing the <body></body> tags just inside the <html> and </html>.

I don't think most email clients require much more than that, but I could be wrong.

Good luck,

Chipzzz

Chipzzz
04-07-2010, 03:32 PM
Sorry, the first header should have been:
Content-type: text/html; CHARSET=US-ASCII

MJH
04-07-2010, 03:35 PM
I dont mean to sound like an idiot but...
Ive now got the <body></body> inside the <html> but could you try and explain about how and where I should put the headers,
Thanks you

Chipzzz
04-07-2010, 03:58 PM
Sorry, try this:



Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

<html>
<body>

<CENTER><img src="http://www.gotlingerie.net/images/m…

<CENTER><font size="4">Got Lingerie is now under new management. Make sure you go and have a look around at all our great products. You can now become a fan on Facebook and follow us on Twitter by clicking on the links at the bottom of this email. Feel free to send us suggested catorgries or products you'd like to see.</font></CENTER>




<CENTER><a href="http://www.facebook.com/pages/Got-… TARGET="_blank"><img src="http://www.buttonshut.com/Facebook-… title="Facebook Buttons By ButtonsHut.com" alt="Facebook Buttons By ButtonsHut.com" width="116px" border="0"/></a>
<font size="1"><a href="http://www.buttonshut.com/Twitter-… Buttons</a></font></CENTER>

<CENTER><a href="http://twitter.com/GotLingerie" TARGET="_blank"><img src="http://www.buttonshut.com/Twitter-B… title="Facebook Buttons By ButtonsHut.com" alt="Facebook Buttons By ButtonsHut.com" width="105px" border="0"/></a>
<font size="1"><a href="http://www.buttonshut.com/Twitter-… Buttons</a></font></CENTER>
</body>
</html>


Best of luck,

Chipzzz :)

MJH
04-07-2010, 04:19 PM
No its still not working for me

MJH
04-07-2010, 04:22 PM
It works when I press preview, but that worked first time before I tried your suggestion. Just when it sends it comes through as code.

cbVision
04-07-2010, 04:29 PM
Are you sending it through Outlook? It's best to send through a program such as Constant Contact or Mail Chimp.

MJH
04-07-2010, 05:48 PM
Thanks Chipzzz and cbVision, Ive just signed up for mail chimp and got then sent off now, cheers for both of your help :)

Chipzzz
04-07-2010, 05:58 PM
Sorry it couldn't be done client-side. Glad you found a work-around, though.

Good luck with your newsletter.

Chipzzz

kathyholder
04-08-2010, 08:46 AM
remember that on email newsletter, make sure that all your images are named with no spaces as they will not display properly

Major Payne
04-09-2010, 04:14 AM
If you had Outlook, Outlook Express or the new Windows Mail, you could have edited in Source and inserted everything you needed for content between the "div" tags. All the other code including MIME type would have been there already.

Many people don't know that you can insert HTML inside the actual email coding. It's the way I send videos by putting in the actual media code. You can only do this after you have clicked Compose/Create New Mail for new mail to be sent. Look under View menu and select Source Edit.

Other options...

HTML EMail:

G-Lock EasyMail: http://www.glockeasymail.com/

How to Code HTML Email Newsletters: http://articles.sitepoint.com/article/code-html-email-newsletters

How to Create and Send HTML Email: http://www.addme.com/newsletters/issue293.htm

Email Marketing Articles and Guides: http://www.mailchimp.com/articles/stupid-html-email-design-mistakes/

How to Create and Send HTML Email: http://www.addme.com/newsletters/issue293.htm

How to Create Great HTML Emails with CSS: http://www.webreference.com/programming/css_html/

30 Free HTML email templates: http://www.campaignmonitor.com/templates/

How do you typically create HTML email?: http://webdesign.about.com/b/2008/10/02/poll-how-do-you-typically-create-html-email.htm

Google: http://www.google.com/search?q=HTML+Email+software&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a