Sending mail (invisibly) from inside a Mac LC app

Richard Miller wow at together.net
Wed Apr 2 09:15:08 EDT 2014


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 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