Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > HTML formatted email

HTML formatted email
Thread Tools
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
May 18, 2001, 08:49 AM
 
Does anyone know how HTML formatted emails are created?
Not just the text ones but the ones with graphics and image maps, hyperlinks on graphics, tables, text etc just like a web page.
Is there an easy way of doing it?
     
sanguerent
Guest
Status:
Reply With Quote
May 25, 2001, 02:27 PM
 
The message is just a multipart mime message. You specify the content type in a header field (I think it's "multipart/mime", but I'd have to check to be sure) and the HTML message body is one of the parts. From there, you can either refer to images on the web or you can include the images as attachments and refer to them. I'm not sure of the syntax for the latter; view the source of an example message to see the syntax.
     
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
May 26, 2001, 01:46 AM
 
Do you know how to do this in practice? Can it be done in Outlook Express for example? I've tried everything I can see in the menu's and still can't achieve it.
How do you specify the content type, and get the html in the message without it just appearing as code?
Any help or url of a tutorial/faq would be greatly appreciated.
     
sanguerent
Guest
Status:
Reply With Quote
May 26, 2001, 03:16 AM
 
My bad. You asked the question in the Developer forum and I thought you were asking from a different point of view.

To my knowledge, OE doesn't let you generate email messages with an arbitrary HTML body. You can do the equivalent of RTF, but you can't do tables or images or whatnot like the Amazon marketing blurb that just showed up in my mailbox. Come to think of it, I'm not aware of a client that will let you do that.

When I've done rich HTML messages, I've done them from a scripting point of view where I generated the message line by line, generating what you see when you view the source of the message. Is this the sort of thing you're looking for, or are you just looking for a mail client that will let you send messages?
     
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
May 26, 2001, 03:26 AM
 
I'm looking for a way to send inline images with hyperlinks embedded. I can code html, but can't do anything more complicated. When I did a search for an app. or faq. on how to do it, every result was to do with .asp or.php.
Is this the only way to do it?
     
sanguerent
Guest
Status:
Reply With Quote
May 26, 2001, 01:37 PM
 
It's the most common way.

Which version of the OS are you using?
     
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
May 26, 2001, 04:50 PM
 
9.1 but soon going to add os x, just for fun.

Why does everyone use .asp and .php for such a task?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:12 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2