• 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: Message.framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Message.framework


  • Subject: Re: Message.framework
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 29 Nov 2005 20:43:10 +0100

Graham,

SMTP is a very simple protocol, so it wouldn't be hard at all to just open a socket to that server and send out your mail message using NSFileHandle. SMTP was designed so it could be entered without an MTA simply using telnet, after all. You just have to filter out lines containing a dot and of course filter the subject line and e- mail address to be only a single line.

Message.framework probably won't work here. Though one thing you could try before rolling your own SMTP server: If these user accounts are minimal and will never be used by actual users logged in with an OS X GUI, you could try to write the info you want to NSUserDefaults. I.e. pretend you are Mail.app and you're saving your main account. It might be enough to trick NSMailDelivery into thinking Mail.app had set up an account already and might make it send to that.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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
References: 
 >Message.framework (From: Graham J Lee <email@hidden>)
 >Re: Message.framework (From: j o a r <email@hidden>)
 >Re: Message.framework (From: j o a r <email@hidden>)
 >Re: Message.framework (From: Graham J Lee <email@hidden>)
 >Re: Message.framework (From: Uli Kusterer <email@hidden>)
 >Re: Message.framework (From: Graham J Lee <email@hidden>)

  • Prev by Date: SQLite performance issues.
  • Next by Date: Valentina [was:CoreData/SQLite performance]
  • Previous by thread: Re: Message.framework
  • Next by thread: timers and event loops
  • Index(es):
    • Date
    • Thread