• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to email html?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to email html?


  • Subject: Re: Best way to email html?
  • From: Andrew Farmer <email@hidden>
  • Date: Mon, 13 Dec 2004 10:20:14 -0800

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.

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Best way to email html?
      • From: Steve Sheets <email@hidden>
    • Re: Best way to email html?
      • From: John Stiles <email@hidden>
    • Re: Best way to email html?
      • From: Christopher Williams <email@hidden>
References: 
 >Best way to email html? (From: Steve Sheets <email@hidden>)

  • Prev by Date: Re: How can I implement labels without the overhead of an NSTextField?
  • Next by Date: Re: c++ exceptions causing abort
  • Previous by thread: Best way to email html?
  • Next by thread: Re: Best way to email html?
  • Index(es):
    • Date
    • Thread