Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-03 Thread Shawn Blc
Using PHP and LiveCode together on your own server (even a shared hosting
account), you could also setup a cron job to run at certain times and have
the data automatically sent.


On Wed, Apr 2, 2014 at 11:10 AM, Mark Talluto use...@canelasoftware.comwrote:

 On Apr 2, 2014, at 4:33 AM, Richard Miller w...@together.net wrote:

  I am still looking into the PHP script option for corporate users.

 The PHP/LiveCode solution is completely silent, will work on both the
 internet and intranet, require no mail config on the client side.  The only
 requirement of the client is that they need to be connected to the
 internet.  You could add to the code to cache the data to be emailed and
 send it when it comes back on.


 Best regards,

 Mark Talluto
 canelasoftware.com

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-02 Thread Richard Miller

The challenge with this issue (of automatically sending an email from a given 
computer) is that I need to offer the easiest, most compatible, and the safest 
method to the user. The users of this app can range from a single computer home 
user to a large corporation with many Macs installed.

To work for home users, the solution needs to be dead simple. Mail is installed 
on every Mac. Almost every user can configure mail to send an outgoing message. 
Using AppleScript to trigger an email runs so quickly that the user will rarely 
see it happening. Yes, there will be a record of the email in their sent box. 
But my app only sends an email when it identifies a problem with the users hard 
drive or OS... so not worried about hiding anything.

I am still looking into the PHP script option for corporate users.

One alternative solution is to have my app pop up a notification on the users 
desktop alerting them to the problem. This avoids the need to send an email 
altogether. But I have been told that this solution is probably not acceptable 
in a corporate environment.

Richard




On 4/1/14 8:33 PM, Bob Sneidar wrote:

Is that really invisible? If they are in Apple Mail, don’t they see the mail 
being created and sent? Also, it will be in their sent mail. Not my idea of 
invisible. Further, this will only work if an email account with working SMTP 
has been already created, and if the SMTP server ever becomes unavailable and 
your app attempts to send something, it will pop an error.

Bob


On Mar 28, 2014, at 19:33 , Richard Miller w...@together.net wrote:


This solution looks promising. Used the following as an applescript. Worked 
perfectly. Just requires that each Mac have a working version of Mail installed.

-

set recipientName to Richard
set recipientAddress to rdmil...@together.net
set theSubject to Type your subject here!
set theContent to Type your message content here!

tell application Mail

##Create the message
set theMessage to make new outgoing message with properties 
{subject:theSubject, content:theContent, visible:true}

##Set a recipient
tell theMessage
make new to recipient with properties {name:recipientName, 
address:recipientAddress}

##Send the Message
send

end tell
end tell

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-02 Thread Ben Rubinstein
I'm still surprised that your original approach of doing SMTP directly from 
inside LC wasn't sucessful.


I have an app that does data transformation jobs on a regularly scheduled 
basis, and sends reports via email.  I coded it many years ago, basing this 
part on Shao Shen's libSMTP; with simple configuration options for SMTP 
server, port, auth type, username and password; and since then it's been 
deployed by a number of different clients, and we've always been able to 
configure it successfully to work with the mail server in their environment.


For home users, maybe you could use AppleScript to extract the configuration 
from their Mail app at startup, and if necessary ask them to confirm the 
details (you probably have to ask them to confirm the password even in the 
best case); for corporate users getting the details of their mail server may 
have to be part of the (one time for the organisation) configuration.  But 
once you have the configuration, taking this approach feels more robust, since 
it doesn't require using AppleScript to work with a third-party piece of 
software which may change outside your control (Apple are rubbish at 
implementing their own technology, including AppleScript, consistently) and 
may not always be installed.


(On my own Mac for example, Mail is always there, because it's not worth the 
trouble to deinstall it; but I've never used it in all the years since moving 
to OS X. (I used to be an Outlook/Entourage user, then I switched to 
Thunderbird). So your software would launch Mail, which would then appear and 
ask me to configure it, I'd decline etc.)


My $0.02

Ben

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-02 Thread Richard Miller
Yes, Ben... I agree with you. The frustration is that, in testing both 
Shao's library and Sarah's with one client in particular (120 Mac's), we 
couldn't get either to work with their mail settings (and we tried 
numerous settings). It works fine using my GoDaddy settings, so I know 
the implementation is correct. If there was even a little technical help 
available, perhaps one of these could be made to work. But no luck so far.


Richard




On 4/2/14 7:47 AM, Ben Rubinstein wrote:
I'm still surprised that your original approach of doing SMTP directly 
from inside LC wasn't sucessful.


I have an app that does data transformation jobs on a regularly 
scheduled basis, and sends reports via email.  I coded it many years 
ago, basing this part on Shao Shen's libSMTP; with simple 
configuration options for SMTP server, port, auth type, username and 
password; and since then it's been deployed by a number of different 
clients, and we've always been able to configure it successfully to 
work with the mail server in their environment.


For home users, maybe you could use AppleScript to extract the 
configuration from their Mail app at startup, and if necessary ask 
them to confirm the details (you probably have to ask them to confirm 
the password even in the best case); for corporate users getting the 
details of their mail server may have to be part of the (one time for 
the organisation) configuration.  But once you have the configuration, 
taking this approach feels more robust, since it doesn't require using 
AppleScript to work with a third-party piece of software which may 
change outside your control (Apple are rubbish at implementing their 
own technology, including AppleScript, consistently) and may not 
always be installed.


(On my own Mac for example, Mail is always there, because it's not 
worth the trouble to deinstall it; but I've never used it in all the 
years since moving to OS X. (I used to be an Outlook/Entourage user, 
then I switched to Thunderbird). So your software would launch Mail, 
which would then appear and ask me to configure it, I'd decline etc.)


My $0.02

Ben

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-02 Thread Bob Sneidar
This will produce a flurry of support calls, as home users in my experience 
never remember their own email passwords unless they use webmail and have to 
enter it each time, in which case that users email would be useless to you.

I install copiers for a living now, and by far the biggest snag, even in 
corporate environments is determining how to communicate with the company’s 
email server correctly. Any number of things can go wrong, from Exchange 
Connectors not being configured for that particular device, to ISP’s blocking 
access to foreign SMTP servers.

As “simple” as Simple Mail Transfer Protocol was supposed to be, it is ANYTHING 
but simple in this day and age.

Bob


On Apr 2, 2014, at 04:47 , Ben Rubinstein 
benr...@cogapp.commailto:benr...@cogapp.com wrote:

For home users, maybe you could use AppleScript to extract the configuration 
from their Mail app at startup, and if necessary ask them to confirm the 
details (you probably have to ask them to confirm the password even in the best 
case);

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-02 Thread Richard Gaskin

Richard Miller wrote:

 I am still looking into the PHP script option for corporate users.

 One alternative solution is to have my app pop up a notification on
 the users desktop alerting them to the problem. This avoids the need
 to send an email altogether. But I have been told that this solution
 is probably not acceptable in a corporate environment.

It seems the simplest, most flexible, and most efficient option.

Email clients will vary, but every computer with Web access will be able 
to POST via HTTP.


Every business has a Web site, and a script to log incoming reports 
could be written in LC in a few minutes, and be simple enough to take 
only a few milliseconds of server time.


If the company's Web server is off-limits (as is often a good idea; I 
like to reserve public server clock cycles for the public), you could 
easily set up any spare machine in the office as an intranet server to 
handle this.  Intranets can be useful for all sorts of services - once 
you get this logging going you'll no doubt think of dozens of other ways 
pulling an old PC out of retirement for this can provide strong value to 
the company.


While it takes less than an hour to install Ubuntu Server and Apache and 
set it up as you like, if that seems daunting you could get started with 
a simple LC-based server like mchttpd.


But given the wide range of useful free tools for intranets, using 
Apache is a more flexible option.  You could still use LC as needed via 
LiveCode Server, but would also have OwnCloud and anything else your 
company could find useful available to them.


Even if you had to build a custom machine for this, the ROI is strong. 
Private servers don't need a lot of horsepower (it's mostly just reading 
files and parsing text) - you may be pleasantly surprised by how easy it 
is to assemble a cheap kit like this, and how well it performs as a 
light-duty server:

http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=19090325pid=4226303

That one totals US$228, and if you shop around there are even cheaper 
options available.


Small machines like that are also pretty green - most of the recent Atom 
CPUs have a TDP of just 10 watts, costing pennies a month to have 
available as an always-on resource.


Set the BIOS to automatically reboot on power failure, plug it into your 
network, and forget about it - it's like a network appliance, always 
there for any services you put on it.


The oldest one I have in my office uses the Atom 230, one of the first 
and least powerful Atoms Intel ever made.  Yet it handles Apache, 
OwnCloud, LC Server, and a custom server built on mchttp very well.


Besides, most corporations already have intranet servers - why not use 
them effectively by hosting new services as needed?  If an intranet 
isn't managed flexibly enough to respond to the ever-changing needs of 
an organization, the problem isn't a technical one, but an opportunity 
for personnel review. ;)


A good IT team will be able to deploy secure separated spaces for new 
services easily.  After all, every successful business understands that 
the only constant is change.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-02 Thread Mark Talluto
On Apr 2, 2014, at 4:33 AM, Richard Miller w...@together.net wrote:

 I am still looking into the PHP script option for corporate users.

The PHP/LiveCode solution is completely silent, will work on both the internet 
and intranet, require no mail config on the client side.  The only requirement 
of the client is that they need to be connected to the internet.  You could add 
to the code to cache the data to be emailed and send it when it comes back on.


Best regards,

Mark Talluto
canelasoftware.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-01 Thread Bob Sneidar
To play the Devil’s advocate so to speak, we had people downloading and 
installing wares and peer to peer software, and then sharing illegal copies of 
movies with others out of our high speed corporate network. We told them not 
to. Over and over again. They kept doing it anyway. This got found out, of 
course, since there are bots looking for people doing this very thing. 

Now the producers of said pirated copyrighted material did not approach the 
people doing it. They did not approach the company I was working for. They 
approached the ISP and DEMANDED that the ISP block all outbound and inbound 
traffic from us! Thankfully, the ISP was more sensible than that, and alerted 
us that we had to find and resolve the issue, prove we had done so, then submit 
our findings, after which they would alert the concerned party. 

All that to say this: Users have absolutely NO COMPUNCTION WHATSOEVER about 
jeopardizing the corporate network using the companies own equipment. 
Therefore, it remains the companies responsibility and obligation to protect 
itself by monitoring what is going into and out of computers that belong to the 
company. Period. 

We did after all, have each employee sign an Acceptable Use policy telling them 
that any and all information stored on the companies computers was subject to 
viewing by authorized personnel. Not only that, but our content management 
software would log attempts to access blacklisted websites, so let’s not 
pretend this is not happening ALL THE TIME. Data is being collected on all of 
us everywhere, not just by the companies we work for, but by our ISP’s, our 
mail providers, our search engines and our frigging location services on our 
cell phones for crying out loud. And that is our PERSONAL computers! 

I think being upset about this is much ado about nothing. 

Bob


On Mar 28, 2014, at 14:41 , Richard Miller w...@together.net wrote:

 Fascinating responses here. Quite a spin folks are putting on my message 
 without even asking first.
 
 The program is looking for signs of system failure on the Mac, before drives 
 crash or other problems get out of hand.
 
 Nothing to do with the user.
 
 
 
 On 3/28/14 5:23 PM, stephen barncard wrote:
 secret collection is the devil.
 
 sqb
 
 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 
 
 On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:
 
 Not nice...:-(
 
 
 Richard Miller w...@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.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-01 Thread Bob Sneidar
Why use email? Why not mySQL or a simple SMB share? Something like that? 

Bob


On Mar 28, 2014, at 18:25 , Richard Miller w...@together.net wrote:

 If I understand what you are saying, you are suggesting that my LC app send 
 out the results of its search to a central server, which then handles the 
 emailing. This is what I wanted to do originally, and how I first developed 
 this app.
 
 What I have since been told by one client (who has about 100 Mac's) is that 
 at their level of corporate business, they don't want any information leaving 
 their network. Everything needs to be kept contained within their business. 
 They have told me that this will generally be the case for many corporate 
 clients of their size and larger.
 
 The ideal way seems to be to have the app generate the email itself, using 
 the SMTP parameters from the corporate mail server. Or by taking advantage of 
 something like the sendemail command.
 
 Thanks for your suggestion Mark. Did I misunderstand what you suggested?
 
 
 Richard
 
 
 
 On 3/28/14 6:07 PM, Mark Talluto wrote:
 Richard,
 
 I understand the need to develop this type of application.  You are going to 
 want to run a php script on your server and have your mac app call the php 
 script and send the needed parameters. This will keep things quite so the 
 individual working on that system is not bothered by applications loading 
 and interrupting their work flow.
 
 I tried pasting working code to solve this problem here, but it seem to be 
 upsetting some server somewhere.  It thinks I am doing something bad.  Sound 
 familiar?  Oh well. I will put the code on in a text file on my server and 
 make it available that way.  This link will get you some fully tested, 
 working code.  If you have any questions, please let me know.
 
 http://www.canelasoftware.com/pub/rev/mailCode.txt
 
 
 Best regards,
 
 Mark Talluto
 canelasoftware.com
 
 
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-01 Thread Bob Sneidar
Is that really invisible? If they are in Apple Mail, don’t they see the mail 
being created and sent? Also, it will be in their sent mail. Not my idea of 
invisible. Further, this will only work if an email account with working SMTP 
has been already created, and if the SMTP server ever becomes unavailable and 
your app attempts to send something, it will pop an error. 

Bob


On Mar 28, 2014, at 19:33 , Richard Miller w...@together.net wrote:

 This solution looks promising. Used the following as an applescript. Worked 
 perfectly. Just requires that each Mac have a working version of Mail 
 installed.
 
 -
 
 set recipientName to Richard
 set recipientAddress to rdmil...@together.net
 set theSubject to Type your subject here!
 set theContent to Type your message content here!
 
 tell application Mail
 
##Create the message
set theMessage to make new outgoing message with properties 
 {subject:theSubject, content:theContent, visible:true}
 
##Set a recipient
tell theMessage
make new to recipient with properties {name:recipientName, 
 address:recipientAddress}
 
##Send the Message
send
 
end tell
 end tell
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-04-01 Thread Earthednet-wp
In 100% agreement.
Bill

William Prothero
http://es.earthednet.org

 On Apr 1, 2014, at 5:27 PM, Bob Sneidar bobsnei...@iotecdigital.com wrote:
 
 To play the Devil’s advocate so to speak, we had people downloading and 
 installing wares and peer to peer software, and then sharing illegal copies 
 of movies with others out of our high speed corporate network. We told them 
 not to. Over and over again. They kept doing it anyway. This got found out, 
 of course, since there are bots looking for people doing this very thing. 
 
 Now the producers of said pirated copyrighted material did not approach the 
 people doing it. They did not approach the company I was working for. They 
 approached the ISP and DEMANDED that the ISP block all outbound and inbound 
 traffic from us! Thankfully, the ISP was more sensible than that, and alerted 
 us that we had to find and resolve the issue, prove we had done so, then 
 submit our findings, after which they would alert the concerned party. 
 
 All that to say this: Users have absolutely NO COMPUNCTION WHATSOEVER about 
 jeopardizing the corporate network using the companies own equipment. 
 Therefore, it remains the companies responsibility and obligation to protect 
 itself by monitoring what is going into and out of computers that belong to 
 the company. Period. 
 
 We did after all, have each employee sign an Acceptable Use policy telling 
 them that any and all information stored on the companies computers was 
 subject to viewing by authorized personnel. Not only that, but our content 
 management software would log attempts to access blacklisted websites, so 
 let’s not pretend this is not happening ALL THE TIME. Data is being collected 
 on all of us everywhere, not just by the companies we work for, but by our 
 ISP’s, our mail providers, our search engines and our frigging location 
 services on our cell phones for crying out loud. And that is our PERSONAL 
 computers! 
 
 I think being upset about this is much ado about nothing. 
 
 Bob
 
 
 On Mar 28, 2014, at 14:41 , Richard Miller w...@together.net wrote:
 
 Fascinating responses here. Quite a spin folks are putting on my message 
 without even asking first.
 
 The program is looking for signs of system failure on the Mac, before drives 
 crash or other problems get out of hand.
 
 Nothing to do with the user.
 
 
 
 On 3/28/14 5:23 PM, stephen barncard wrote:
 secret collection is the devil.
 
 sqb
 
 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 
 
 On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:
 
 Not nice...:-(
 
 
 Richard Miller w...@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.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-29 Thread stephen barncard
On Fri, Mar 28, 2014 at 2:41 PM, Richard Miller w...@together.net wrote:

 secret collection is the devil.


then I apologize if I misjudged the intentions of your app.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-29 Thread Richard Miller

Thanks, Mark.
Will give it a try. Looks like it could be a simple solution.

Richard



On 3/28/14 11:15 PM, Mark Talluto wrote:

On Mar 28, 2014, at 6:25 PM, Richard Miller w...@together.net wrote:


If I understand what you are saying, you are suggesting that my LC app send out 
the results of its search to a central server, which then handles the emailing. 
This is what I wanted to do originally, and how I first developed this app.

What I have since been told by one client (who has about 100 Mac's) is that at 
their level of corporate business, they don't want any information leaving 
their network. Everything needs to be kept contained within their business. 
They have told me that this will generally be the case for many corporate 
clients of their size and larger.

The ideal way seems to be to have the app generate the email itself, using the 
SMTP parameters from the corporate mail server. Or by taking advantage of 
something like the sendemail command.

Thanks for your suggestion Mark. Did I misunderstand what you suggested?


Richard


If the intranet is set up such that the emails can be obtained on the local 
network then, you can meet the requirements of IT by posting your data to an ip 
# on your company network.  You simply need to have PHP and a working email 
system installed on the receiving server/computer.

Alternatively, a database set up on a local server will also work.  I think the 
PHP solution my be easier.  I would show them the code I posted for you and 
have them give it a try.  We have found the solution to be very robust.


Best regards,

Mark Talluto
canelasoftware.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-29 Thread Richard Miller

No worries, Stephen.



On 3/29/14 4:48 AM, stephen barncard wrote:

On Fri, Mar 28, 2014 at 2:41 PM, Richard Miller w...@together.net wrote:


secret collection is the devil.


then I apologize if I misjudged the intentions of your app.

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-29 Thread Earthednet-wp
Folks,
Unfortunately, invisibly sending information about your online activities is a 
common situation. We don't expect it in standalone apps, but who deals only 
with standalone these days? I know of no other environment where I am presented 
with at least several attempts, per day, to do something (click a link, get a 
reward, etc) that will compromise the security of my computer, or my 
financial activities. It's an appalling situation, and most of us know how to 
minimize the risks, but I do find it disconcerting that there is so much 
information about me floating around.

Bill

William Prothero
http://es.earthednet.org

 On Mar 29, 2014, at 6:04 AM, Francis Nugent Dixon effe...@wanadoo.fr wrote:
 
 Hi from Beautiful Brittany,
 
 I don’t want to quibble, but the request in this e-mail would
 seem to me to be highly dangerous, totally subversive,
 and irrevocably suspicious.
 
 Maybe somebody would like to graft into a developing
 LiveCode program, an automatic spy mechanism.
 
 I suggest that nobody answer to this  e-mail, especially
 those who could conceive of a way to do it.
 
 Confused
 
 -Francis
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-29 Thread Mark Talluto
On Mar 29, 2014, at 6:04 AM, Francis Nugent Dixon effe...@wanadoo.fr wrote:

 Hi from Beautiful Brittany,
 
 I don’t want to quibble, but the request in this e-mail would
 seem to me to be highly dangerous, totally subversive,
 and irrevocably suspicious.
 
 Maybe somebody would like to graft into a developing
 LiveCode program, an automatic spy mechanism.
 
 I suggest that nobody answer to this  e-mail, especially
 those who could conceive of a way to do it.
 
 Confused


All tools can be used for either evil or good.  In this case, Richard Miller 
has been a member of this community for as long as I can remember.  The 
knowledge he seeks is easily obtained from very simple google searches. I 
happen to have a solution that might save him the time and effort of tooling 
around to get it right.  I understand the need for the tool he is making and 
see no problems with helping him to get things working.

Richard’s tool is for a company network of computers under their control.  If 
this technology was to be used on computers outside the control of the company, 
it is common to notify the user at least once that this is taking place via a 
dialog, preference setting, and EULA.

What I find technologically interesting is that LiveCode has progressed to a 
point that developers can now make tools in new markets to solve problems we 
could not do previously. Canela has developed a technology we lovingly refer to 
as minions for our office use. These light applications run silently in the 
background providing our software the ability to process data in a distributed 
fashion. This increases our productivity, which in turn increases the 
productive of the users of our products and services. They can be installed on 
every computer in our company wide network to do good. I foresee a time in the 
near future where we will use them in the software we provide to our customers 
to make our applications download updates and perform long calculations in the 
background. These tasks today either interrupt our users and/or degrade their 
experience. These silent applications work on separate threads of any modern 
CPU and make our offering more attractive than our competitors.

You can see the value of the minions in one of the RunRev conference videos 
from Atlanta circa 2012.  Skip to about the middle of my presentation and see 
what these little guys can do.  Is Richard’s work any different?


Best regards,

Mark Talluto
canelasoftware.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-29 Thread Richard Miller
In this case, Richard Miller has been a member of this community for as 
long as I can remember.


Thanks for mentioning this, Mark. Perhaps some were not aware of this.

I would NEVER create software that was not of high ethical standards. In 
this case, my app can help save all the data on the users computer by 
predicting a hard drive or software failure in advance. Kinda useful, I 
think.


Richard Miller


On 3/29/14 1:03 PM, Mark Talluto wrote:

On Mar 29, 2014, at 6:04 AM, Francis Nugent Dixon effe...@wanadoo.fr wrote:


Hi from Beautiful Brittany,

I don’t want to quibble, but the request in this e-mail would
seem to me to be highly dangerous, totally subversive,
and irrevocably suspicious.

Maybe somebody would like to graft into a developing
LiveCode program, an automatic spy mechanism.

I suggest that nobody answer to this  e-mail, especially
those who could conceive of a way to do it.

Confused


All tools can be used for either evil or good.  In this case, Richard Miller 
has been a member of this community for as long as I can remember.  The 
knowledge he seeks is easily obtained from very simple google searches. I 
happen to have a solution that might save him the time and effort of tooling 
around to get it right.  I understand the need for the tool he is making and 
see no problems with helping him to get things working.

Richard’s tool is for a company network of computers under their control.  If 
this technology was to be used on computers outside the control of the company, 
it is common to notify the user at least once that this is taking place via a 
dialog, preference setting, and EULA.

What I find technologically interesting is that LiveCode has progressed to a 
point that developers can now make tools in new markets to solve problems we 
could not do previously. Canela has developed a technology we lovingly refer to 
as minions for our office use. These light applications run silently in the 
background providing our software the ability to process data in a distributed 
fashion. This increases our productivity, which in turn increases the 
productive of the users of our products and services. They can be installed on 
every computer in our company wide network to do good. I foresee a time in the 
near future where we will use them in the software we provide to our customers 
to make our applications download updates and perform long calculations in the 
background. These tasks today either interrupt our users and/or degrade their 
experience. These silent applications work on separate threads of any modern 
CPU and make our offering more attractive than our competitors.

You can see the value of the minions in one of the RunRev conference videos 
from Atlanta circa 2012.  Skip to about the middle of my presentation and see 
what these little guys can do.  Is Richard’s work any different?


Best regards,

Mark Talluto
canelasoftware.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread FlexibleLearning.com
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 w...@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



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Richard Miller

Hugh,

This is for a corporate application. The owners of the business will install 
and control this app.

The data it is reporting only has to do with the health of the Mac it is 
running on. It's a maintenance program.

Richard



On 3/28/14 5:10 PM, FlexibleLearning.com wrote:

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 w...@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



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread John Dixon
Not nice...:-(


 Richard Miller w...@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.
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread stephen barncard
secret collection is the devil.

sqb

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*


On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:

 Not nice...:-(


  Richard Miller w...@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.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Richard Miller
Fascinating responses here. Quite a spin folks are putting on my message 
without even asking first.


The program is looking for signs of system failure on the Mac, before 
drives crash or other problems get out of hand.


Nothing to do with the user.



On 3/28/14 5:23 PM, stephen barncard wrote:

secret collection is the devil.

sqb

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*


On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:


Not nice...:-(



Richard Miller w...@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.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Alex Tweedly

Might it be easier to access a URL rather than send an email ?
Have a server somewhere which can gather the data included and email it 
along to wherever it needs to go ?


(Or, to put it another way, I don't know how to directly answer your 
question :-)


-- Alex.

On 28/03/2014 20:53, Richard Miller 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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread J. Landman Gay

On 3/28/14, 3:53 PM, Richard Miller wrote:

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.


I think I'd just try it. Presumably since the machines are set up by the 
company, they could also enable whatever is required as needed. It's 
their property and their setup.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Skip Kimpel
Yes, quite the harsh remarks :)

 On Mar 28, 2014, at 5:41 PM, Richard Miller w...@together.net wrote:
 
 Fascinating responses here. Quite a spin folks are putting on my message 
 without even asking first.
 
 The program is looking for signs of system failure on the Mac, before drives 
 crash or other problems get out of hand.
 
 Nothing to do with the user.
 
 
 
 On 3/28/14 5:23 PM, stephen barncard wrote:
 secret collection is the devil.
 
 sqb
 
 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 
 
 On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:
 
 Not nice...:-(
 
 
 Richard Miller w...@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.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Pradeep Saxena
Richard,

We as developer are always open to various viewpoints. Here is the solution I 
had implemented long time back on similar lines at a fortune 10 company 
(without LC) but should do the job to your expectation:

-Have an additional database server (mysql/oracle) in your corporate env. 
-send the message  userid/machineid as record to that server.
-write the email code for on-insert (or post insert) trigger based on your need.
- on-insert trigger, if you want to store all messages for user/machine/error 
analysis later
- post-insert trigger, if you do not want to store these messages on the server 
and delete them after sending the email.

Hope this helps!

Best Regards,
Pradeep




 From: Richard Miller w...@together.net
To: How to use LiveCode use-livecode@lists.runrev.com 
Sent: Friday, March 28, 2014 2:41 PM
Subject: Re: Sending mail (invisibly) from inside a Mac LC app
 

Fascinating responses here. Quite a spin folks are putting on my message 
without even asking first.

The program is looking for signs of system failure on the Mac, before 
drives crash or other problems get out of hand.

Nothing to do with the user.



On 3/28/14 5:23 PM, stephen barncard wrote:
 secret collection is the devil.

 sqb

 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*


 On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:

 Not nice...:-(


 Richard Miller w...@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.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread John Dixon
If all this is so innocent, why hide it from the person using the Mac ? Have 
you heard yourselves !?


Jacque Landman-Gay wrote :-

I think I'd just try it. Presumably since the machines are set up by the
company, they could also enable whatever is required as needed. It's
their property and their setup.


 Richard Miller wrote :-
 
Fascinating responses here. Quite a spin folks are putting on my message 
without even asking first.
 
The program is looking for signs of system failure on the Mac, before 
drives crash or other problems get out of hand.
 
Nothing to do with the user.
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Richard Miller
I tried sendemail from my own laptop from within Terminal, but can't 
get it to work. Anyone know how to configure a Mac to enable this?




On 3/28/14 5:45 PM, J. Landman Gay wrote:

On 3/28/14, 3:53 PM, Richard Miller wrote:

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.


I think I'd just try it. Presumably since the machines are set up by 
the company, they could also enable whatever is required as needed. 
It's their property and their setup.





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Richard Miller
There is no intention to hide anything. It's a background maintenance 
program.




On 3/28/14 5:53 PM, John Dixon wrote:

If all this is so innocent, why hide it from the person using the Mac ? Have 
you heard yourselves !?


Jacque Landman-Gay wrote :-

I think I'd just try it. Presumably since the machines are set up by the
company, they could also enable whatever is required as needed. It's
their property and their setup.


  Richard Miller wrote :-
  
Fascinating responses here. Quite a spin folks are putting on my message

without even asking first.
  
The program is looking for signs of system failure on the Mac, before

drives crash or other problems get out of hand.
  
Nothing to do with the user.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread kee nethery
I data collect on an internal app used in my business. I have a web server with 
a web page that logs all connections to it. The user app will POST to the 
server and that data goes into the log. I can review the logs and do stats on 
the app usage and such. Since it is all internal users, they all have access to 
that server.

The fun thing is that the logs get rolled so that it’s only the last some 
number of days that is stored in the logs. If I never need to look at the data, 
the files stay a fixed size.

Kee Nethery
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Richard Miller
The challenge with this approach is that my app could be used by 
hundreds of businesses, from very small to very large. Whatever the 
solution is, it can't be complex for the business to implement.




On 3/28/14 5:53 PM, Pradeep Saxena wrote:

Richard,

We as developer are always open to various viewpoints. Here is the solution I 
had implemented long time back on similar lines at a fortune 10 company 
(without LC) but should do the job to your expectation:

-Have an additional database server (mysql/oracle) in your corporate env.
-send the message  userid/machineid as record to that server.
-write the email code for on-insert (or post insert) trigger based on your need.
- on-insert trigger, if you want to store all messages for user/machine/error 
analysis later
- post-insert trigger, if you do not want to store these messages on the server 
and delete them after sending the email.

Hope this helps!

Best Regards,
Pradeep




  From: Richard Miller w...@together.net
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Friday, March 28, 2014 2:41 PM
Subject: Re: Sending mail (invisibly) from inside a Mac LC app
  


Fascinating responses here. Quite a spin folks are putting on my message
without even asking first.

The program is looking for signs of system failure on the Mac, before
drives crash or other problems get out of hand.

Nothing to do with the user.



On 3/28/14 5:23 PM, stephen barncard wrote:

secret collection is the devil.

sqb

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*


On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:


Not nice...:-(



Richard Miller w...@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.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Mark Talluto
Richard,

I understand the need to develop this type of application.  You are going to 
want to run a php script on your server and have your mac app call the php 
script and send the needed parameters. This will keep things quite so the 
individual working on that system is not bothered by applications loading and 
interrupting their work flow.

I tried pasting working code to solve this problem here, but it seem to be 
upsetting some server somewhere.  It thinks I am doing something bad.  Sound 
familiar?  Oh well. I will put the code on in a text file on my server and make 
it available that way.  This link will get you some fully tested, working code. 
 If you have any questions, please let me know.

http://www.canelasoftware.com/pub/rev/mailCode.txt


Best regards,

Mark Talluto
canelasoftware.com






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Earthednet-wp
Richard,
I implemented a php script to send mail to me, with some diagnostic 
information, when my Director program threw a script error. I am not at my 
desktop, so can't tell you the exact way to find it, but I am sure you can 
google it. You just post your message and destination to the php script, and 
the email gets sent. It's your choice whether to notify the user. This does 
involve having a server, but it's easy and works.
Best,
Bill

William Prothero
http://es.earthednet.org

 On Mar 28, 2014, at 3:06 PM, Richard Miller w...@together.net wrote:
 
 The challenge with this approach is that my app could be used by hundreds of 
 businesses, from very small to very large. Whatever the solution is, it can't 
 be complex for the business to implement.
 
 
 
 On 3/28/14 5:53 PM, Pradeep Saxena wrote:
 Richard,
 
 We as developer are always open to various viewpoints. Here is the solution 
 I had implemented long time back on similar lines at a fortune 10 company 
 (without LC) but should do the job to your expectation:
 
 -Have an additional database server (mysql/oracle) in your corporate env.
 -send the message  userid/machineid as record to that server.
 -write the email code for on-insert (or post insert) trigger based on your 
 need.
 - on-insert trigger, if you want to store all messages for 
 user/machine/error analysis later
 - post-insert trigger, if you do not want to store these messages on the 
 server and delete them after sending the email.
 
 Hope this helps!
 
 Best Regards,
 Pradeep
 
 
 
 
  From: Richard Miller w...@together.net
 To: How to use LiveCode use-livecode@lists.runrev.com
 Sent: Friday, March 28, 2014 2:41 PM
 Subject: Re: Sending mail (invisibly) from inside a Mac LC app
  
 Fascinating responses here. Quite a spin folks are putting on my message
 without even asking first.
 
 The program is looking for signs of system failure on the Mac, before
 drives crash or other problems get out of hand.
 
 Nothing to do with the user.
 
 
 
 On 3/28/14 5:23 PM, stephen barncard wrote:
 secret collection is the devil.
 
 sqb
 
 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 
 
 On Fri, Mar 28, 2014 at 2:17 PM, John Dixon dixo...@hotmail.co.uk wrote:
 
 Not nice...:-(
 
 
 Richard Miller w...@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.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Alex Tweedly

What he said - only I'd run a LC Server script instead of a PHP script :-)

You could even run that LCServer script on your own site, as a service 
for all the different businesses that will use the program, and thus 
simplify setup for them.


-- Alex.


On 28/03/2014 22:07, Mark Talluto wrote:

Richard,

I understand the need to develop this type of application.  You are going to 
want to run a php script on your server and have your mac app call the php 
script and send the needed parameters. This will keep things quite so the 
individual working on that system is not bothered by applications loading and 
interrupting their work flow.

I tried pasting working code to solve this problem here, but it seem to be 
upsetting some server somewhere.  It thinks I am doing something bad.  Sound 
familiar?  Oh well. I will put the code on in a text file on my server and make 
it available that way.  This link will get you some fully tested, working code. 
 If you have any questions, please let me know.

http://www.canelasoftware.com/pub/rev/mailCode.txt


Best regards,

Mark Talluto
canelasoftware.com






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Richard Miller

If I understand what you are saying, you are suggesting that my LC app send out 
the results of its search to a central server, which then handles the emailing. 
This is what I wanted to do originally, and how I first developed this app.

What I have since been told by one client (who has about 100 Mac's) is that at 
their level of corporate business, they don't want any information leaving 
their network. Everything needs to be kept contained within their business. 
They have told me that this will generally be the case for many corporate 
clients of their size and larger.

The ideal way seems to be to have the app generate the email itself, using the 
SMTP parameters from the corporate mail server. Or by taking advantage of 
something like the sendemail command.

Thanks for your suggestion Mark. Did I misunderstand what you suggested?


Richard



On 3/28/14 6:07 PM, Mark Talluto wrote:

Richard,

I understand the need to develop this type of application.  You are going to 
want to run a php script on your server and have your mac app call the php 
script and send the needed parameters. This will keep things quite so the 
individual working on that system is not bothered by applications loading and 
interrupting their work flow.

I tried pasting working code to solve this problem here, but it seem to be 
upsetting some server somewhere.  It thinks I am doing something bad.  Sound 
familiar?  Oh well. I will put the code on in a text file on my server and make 
it available that way.  This link will get you some fully tested, working code. 
 If you have any questions, please let me know.

http://www.canelasoftware.com/pub/rev/mailCode.txt


Best regards,

Mark Talluto
canelasoftware.com






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Richard Miller
This solution looks promising. Used the following as an applescript. 
Worked perfectly. Just requires that each Mac have a working version of 
Mail installed.


-

set recipientName to Richard
set recipientAddress to rdmil...@together.net
set theSubject to Type your subject here!
set theContent to Type your message content here!

tell application Mail

##Create the message
set theMessage to make new outgoing message with properties 
{subject:theSubject, content:theContent, visible:true}


##Set a recipient
tell theMessage
make new to recipient with properties 
{name:recipientName, address:recipientAddress}


##Send the Message
send

end tell
end tell

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending mail (invisibly) from inside a Mac LC app

2014-03-28 Thread Mark Talluto
On Mar 28, 2014, at 6:25 PM, Richard Miller w...@together.net wrote:

 If I understand what you are saying, you are suggesting that my LC app send 
 out the results of its search to a central server, which then handles the 
 emailing. This is what I wanted to do originally, and how I first developed 
 this app.
 
 What I have since been told by one client (who has about 100 Mac's) is that 
 at their level of corporate business, they don't want any information leaving 
 their network. Everything needs to be kept contained within their business. 
 They have told me that this will generally be the case for many corporate 
 clients of their size and larger.
 
 The ideal way seems to be to have the app generate the email itself, using 
 the SMTP parameters from the corporate mail server. Or by taking advantage of 
 something like the sendemail command.
 
 Thanks for your suggestion Mark. Did I misunderstand what you suggested?
 
 
 Richard


If the intranet is set up such that the emails can be obtained on the local 
network then, you can meet the requirements of IT by posting your data to an ip 
# on your company network.  You simply need to have PHP and a working email 
system installed on the receiving server/computer.

Alternatively, a database set up on a local server will also work.  I think the 
PHP solution my be easier.  I would show them the code I posted for you and 
have them give it a try.  We have found the solution to be very robust.


Best regards,

Mark Talluto
canelasoftware.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode