• 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 send a mail from within a program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to send a mail from within a program


  • Subject: Re: How to send a mail from within a program
  • From: email@hidden
  • Date: Wed, 9 Jul 2003 22:53:25 -0600

On Wed, Jul 09, 2003 at 07:31:20PM -0400, Marc Weil wrote:
> Of course it's possible. Just find the RFC document on the SMTP Protocol and
> write a simple mail client. ;-)
>
> There are only three other ways to do this, and only one of them is a good
> way. The two bad ways are to either use the Message framework (which is
> really horrible), or to use the EDMessage framework (which is 99%
> undocumented because the developer doesn't feel like writing any). The only
> other good method I can think of is writing a Perl script that uses the
> mail() function, and including it in your app's bundle and using an NSTask
> and an NSPipe to call the script and have it send what you need instead of
> worrying about implementing the functions in Cocoa.

Well, the 1% of EDMessage that *is* documented happens to be the part on
sending mail. So it is a viable option, if perl isn't your thing.

David
_______________________________________________
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.

References: 
 >How to send a mail from within a program (From: Tim Hewett <email@hidden>)
 >Re: How to send a mail from within a program (From: Marc Weil <email@hidden>)

  • Prev by Date: What is the best way of printing an NSOutlineView?
  • Next by Date: Re: How to send a mail from within a program
  • Previous by thread: Re: How to send a mail from within a program
  • Next by thread: Re: How to send a mail from within a program
  • Index(es):
    • Date
    • Thread