Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 1st, 2007, 05:46 PM
Authorized User
 
Join Date: Oct 2003
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTML in email?

I receive ad emails all the time and they appear just link any Web site page, with images, links etc.
I have tried cutting and pasting one of my html web pages in an email and then sent it to myself. All I get back is the html code. Sorry for being so stupid but what am I missing. BTW, my email programs is set to show as text or html.

Need some help

Rudy
__________________
Rudy
 
Old May 1st, 2007, 10:22 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Composing HTML email is bit more complicated than that, you have to set the MIME headers. Typically email clients don't allow you to compose HTML email from HTML source. You'll need a client capable of doing that.

One way to do it would be to save an HTML email to your desktop as mail.eml. Then open it with a text editor. You'll find there are various headers. You'll also find that the HTML source doesn't look exactly the same as it would in a web page. It'll look garbled. That's because HTML mail is typically encoded.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old May 1st, 2007, 10:43 PM
Authorized User
 
Join Date: Oct 2003
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Could you suggest an email client that would do this?

Quote:
quote:Originally posted by richard.york
 Composing HTML email is bit more complicated than that, you have to set the MIME headers. Typically email clients don't allow you to compose HTML email from HTML source. You'll need a client capable of doing that.

One way to do it would be to save an HTML email to your desktop as mail.eml. Then open it with a text editor. You'll find there are various headers. You'll also find that the HTML source doesn't look exactly the same as it would in a web page. It'll look garbled. That's because HTML mail is typically encoded.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
Rudy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Email HTML g2000 Classic ASP Basics 0 October 13th, 2005 11:28 AM
Embed Image in HTML Email cullancrothers Pro PHP 4 June 22nd, 2005 01:40 PM
HTML email robertjshillito Beginning PHP 1 March 1st, 2005 06:15 AM
email in html format alitoday HTML Code Clinic 3 June 19th, 2004 08:31 AM
Build HTML email from form jmccann Classic ASP Basics 2 July 22nd, 2003 09:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.