• 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: how to create a HREF inside a email message-javamail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to create a HREF inside a email message-javamail


  • Subject: Re: how to create a HREF inside a email message-javamail
  • From: petite_abeille <email@hidden>
  • Date: Thu, 23 Oct 2003 17:56:12 +0200

On Thursday, Oct 23, 2003, at 17:05 Europe/Amsterdam, Serge Froment wrote:

I build HTML mail content by simply using normal WebObject pages.

Oh, my...

The first question anyone contemplating such an unreasonable move should ask themselves is: why? Why create HTML email in the first place? HTML emails are a nuisance and any reasonable email user should turn them off by default. In Mail.app, you can choose a plain text representation as your default view:

defaults write com.apple.mail PreferPlainText YES

http://www.macosxhints.com/article.php?story=20030711201917175

At a bare minimum, turn off image rendering and other dynamic contents.

Now... if you still persist in your devious ways... you should at least create a multipart/alternative with a nice and clean looking text/plain part instead of abusing your long suffering users with html.

If you feel particularly perverse, you may consider crafting your HTML part in such a way that your unsuspecting user could end up running your entire application in their email clients. Here is a sad illustration:

http://zoe.nu/itstories/story.php?data=stories&num=44&sec=2

Some reading:

http://www.georgedillon.com/web/html_email_is_evil.shtml

Finally, if you are spamming your users with a newsletter or such, you may want to consider something like an RSS feed as an alternative distribution channel.

Cheers,

PA.

P.S.

If you feel like totally abusing email, take a look at Zaplet:

http://www.zaplet.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: how to create a HREF inside a email message-javamail (From: Serge Froment <email@hidden>)

  • Prev by Date: Re: Newbie: Mixing HTML & WO Pages?
  • Next by Date: RE: Newbie: Mixing HTML & WO Pages?
  • Previous by thread: Re: how to create a HREF inside a email message-javamail
  • Next by thread: createAndInsert from a directAction App
  • Index(es):
    • Date
    • Thread