Sending mail (invisibly) from inside a Mac LC app

Earthednet-wp prothero at earthednet.org
Fri Mar 28 19:06:44 EDT 2014


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 <wow at 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 <wow at together.net>
>> To: How to use LiveCode <use-livecode at 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 <dixonja at hotmail.co.uk> wrote:
>>>> 
>>>> Not nice...:-(
>>>> 
>>>> 
>>>>> 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.
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list