SMTP attachment syntax
Doug Easterbrook
doug at artsman.com
Sat Jun 27 21:54:37 EDT 2020
if you can figure out the way to do it with OW3 workers, I’d do that .. simply because it takes load of the foreground thread and lets your code keep on working. you move from being completely synchronous to having some asynchronous work done
i.e.
if you can put work on the background thread, you get time back in omnis to handle more requests or whatever you are doing.
you have mentioned in other posts
1) that you might have one request a day, so maybe performance DOESN'T matter in the long run.
2) but that you are considering macBookPro vs mac mini — so maybe performance DOES matter to you.
for the record. We’ve run 4 Mac Mini’s in server racks for almost 10 years, pretty much non-stop. They were just quad core I7’s, but there far less heat with no monitor, and we din’t have to worry about apple’s wonderful expanding battery issue (on mac books) what show up after 3 or four years and require replacement.
I can’t tell if performance is really an issue to you since I’m getting conflicting messages in your posts.
Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978
> On June 27, 2020, at 5:14 PM, Das Goravani <das at Goravani.com> wrote:
>
>
> The SMTP OW3 example has an Add Attachment class method.. but it doesn’t have much in it.. the worker example is very complex.. very well done.. wonderful.. but I only need how to add an attachment to a foreground sent mail message using the SMTP command..
>
> I’ll try to figure it out using the manual.. and online help
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list