Skip navigation.
 
mlRe: Best way to email html?
FROM : Andrew Farmer
DATE : Mon Dec 13 19:20:14 2004

On 13 Dec 2004, at 08:32, Steve Sheets wrote:
> Ok, I know we had addressed this issue over and over, regarding best
> way to send EMail from within a program. One can use Mailto URL,
> Applescript to Mail, internal Mail API, or other 3rd Party Mail SDKs.
> However, I never heard what would be the best method to send Email
> that contains HTML (specifically Tags for links & text styles).


Don't.

HTML mail is generally considered harmful.

Mail.app - I don't know about other programs - will automatically
interpret any string that looks like a URI as one (example:
http://foo.bar.baz/), so you don't need to do anything special for
that.

Text styles? Well, you can do those without HTML as well - try sending
a message with bold text like this, for example, and read the source of
the resulting message.

> Can the Mail program send HTML at all? I know it can receive HTML, but
> never seen example of it sending?


It will send HTML if you force it to. However, it generally tries to do
the Right Thing and uses any alternative available.

Related mailsAuthorDate
mlBest way to email html? Steve Sheets Dec 13, 17:32
mlRe: Best way to email html? Andrew Farmer Dec 13, 19:20
mlRe: Best way to email html? Christopher Willia… Dec 13, 19:29
mlRe: Best way to email html? John Stiles Dec 13, 19:42
mlRe: Best way to email html? Steve Sheets Dec 13, 19:57