• 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
Mail hacking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail hacking?


  • Subject: Mail hacking?
  • From: petite_abeille <email@hidden>
  • Date: Thu, 30 Oct 2003 22:45:05 +0100

Hello,

I have a little app [1] which provides a little mail bundle [2] to turn email addresses, dates and the subject line into hyperlinks pointing back to the relevant view in my app [3].

Well... I should say I used to have such a bundle... because Panther's Mail has introduce some changes...

In the new world order, the view used to display a message has changed quiet a bit...

When Mail.app displays a message, it send a handy notification about it:

- (void) messageWillBeDisplayedInView: (NSNotification*) aNotification

This notification contains the MessageView in its userInfo.

Now, what has changed is that MessageTextView is only the lower part of the message display. To get to the encompassing view, you need to go to its superview: MessageTilingView. And from there you can find your way to the header: MessageHeaderView. Once there, you have to look for those pesky little AddressAttachment/AddressAttachmentCell to modify them... argh!

There must be a better way than having to hack this madness over and over again! Why is the Mail API not documented?

Grrrrrr....

PA.

[1] http://zoe.nu/
[2] http://zoe.nu/contents/ZOEMailBundle.jpg
[3] http://zoe.nu/itstories/story.php?data=stories&num=27&sec=2
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Mail hacking?
      • From: Kyle Moffett <email@hidden>
    • Re: Mail hacking?
      • From: Wade Tregaskis <email@hidden>
    • Re: Mail hacking?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Can anyone tell me what these errors mean? (PDF files attached)
  • Next by Date: Re: Outline View Table Column problem
  • Previous by thread: Re: Newbie Pasteboard question
  • Next by thread: Re: Mail hacking?
  • Index(es):
    • Date
    • Thread