Re: How to send a mail from within a program
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.