• 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: Michael Shantzis <email@hidden>
  • Date: Thu, 10 Jul 2003 13:14:44 -0700

Along with the solutions already stated, there's the
Applescript Studio approach as well.

If you're trying to do this directly from the UI (as opposed to
from within a C/ObjC file) you could create an applescript
command to associate with a control and then write a simple
applescript program for sending the mail.

I'm guessing you could also call applescript from within a
a C file, but I don't know how.



On Wednesday, July 9, 2003, at 8:33 PM, Scott Anguish wrote:

On Wednesday, July 9, 2003, at 4:56 PM, Tim Hewett wrote:

Hello,

I am trying to find out how to send a mail from within a Cocoa
app. It is possible in that iCal can do it as an option when
a scheduled event happens, but there doesn't seem to be
any documentation on how to do it... I need to be able to
fully populate the "To:", "Subject:" and main body under
program control, is it possible?


Sure.. have a look at the Message framework (it's not documented in the Apple docs, but is in Cocoa Programming)..
_______________________________________________
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.
_______________________________________________
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: How to send a mail from within a program
      • From: Raymond Fischer <email@hidden>
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: Scott Anguish <email@hidden>)

  • Prev by Date: Re: multiple definitions of compare: -- design flaw?
  • Next by Date: Re: Changing font in an NSTableView
  • 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