Sending mail (invisibly) from inside a Mac LC app

FlexibleLearning.com admin at FlexibleLearning.com
Fri Mar 28 17:10:06 EDT 2014


Let me get this straight... You not only have a clandestine app running
invisible to the User, but you also want to invisibly collect (presumably
User) data and then email the data without the User knowing?

Frankly I am not surprised you are finding it hard to get a Mac to
cooperate. Sounds like how a virus behaves.

Hugh Senior
FLCo




Richard Miller <wow at together.net> wrote:

I have a Mac-only LC program that runs invisibly in the background. This is
used in a corporate environment, so the actual user of the Mac computer will
not likely even know it is running. It is designed to collect certain data
and send it to management.

I have not yet found a reliable way for the program to send an email to
admin. This has to be done invisibly, so revmail is not an option.

I tried both Shao Shen's libSMTP and Sarah's SMTPlibrary, but haven't had
much success configuring the SMTP server information so that it will
reliably send an email. I can get these to work with some SMTP server data
(like GoDaddy), but often times, with a given clients mail server, neither
of these programs will send an email. They just generate errors (like
badconnect) as soon as SEND is pressed... even though I know the SMTP server
data is correct.

I thought about using the built-in OSX "sendemail" command from a Shell
script, but I have read that that command will often not work on a given Mac
unless the Mac has been set up to allow it to work. Not sure what is
involved to make this command work.

There must be some reliable way to (invisibly) send an email from a LC
program running under OS X. Any suggestions?

Thanks,
Richard Miller






More information about the use-livecode mailing list