Sending bulk emails

Martin Obongita martin.obongita at yahoo.com
Tue Jun 21 08:48:58 UTC 2022


 Hi Andrew,
One thing that is not clear with your explanation is whether the list is being stored in a database.
When you say "First build the list with attachments", does this mean the files to attach are imported into the list from the documents folder?
Where do I get the subtype 'oEMail'?
Rgds,Martin.
    On Tuesday, June 21, 2022, 09:37:50 AM GMT+3, Andrew McVeigh <surfway at bigpond.com> wrote:  
 
 We use this command to send emails with attachments
First build the list with attachments
Documents are all stored in a folder for each entity and the file path is fed to the method through lfilepath
If len(lFilePath)Do FileOps.$splitpathname(lFilePath,lFileDrive,lFileDir,lFileName,lFileExt)Calculate lFileName as con(lFileName,pick(len(lFileExt)>0,'',lFileExt))Do iFileList.$add(lFileName,lFilePath)Do $cwind.$objs.FileList.$redraw()End If
Then send that email
Do iMail.$sendMessage(EMTOLIST,EMSUBJECT,EMBODY,EMCCLIST,EMBCCLIST,,,iFileList)
iMail is an object declared in the Instance parameters of the code class and is subtype oEMail
Andrew McVeighSurfway Real SolutionsPhone 02 44412679 Mobile 0418428016www.surfway.com.auwww.berrarabeach.com.au


On 21 Jun 2022, at 2:58 am, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
Hi Doug,
How do you do that, sending emails through the server and not the workstation?
As in.. do you mean to say the SMTP worker in the HUB is a workstation sample and not a server?
What is the difference between coding in the server and workstation to send email... seeing that I'm developing on OS10.2 web version.
Rgds,Martin.

Sent from Yahoo Mail on Android 

  On Mon, 20 Jun 2022 at 19:51, Doug Easterbrook via omnisdev-en<omnisdev-en at lists.omnis-dev.com> wrote:   hi Xavier.

I just want to say I agree with using a server to send out all emails is better than each workstation doing its own.    

If the rationale is not obvious, the kind of things we’ve run into are

manage a database table with a queue of emails nakes it easier to track status and restart the emails if necessary


workstations firewalls based on corporate policies are sometimes setup to block outgoing access (particularly if the default is deny for PCI compliance).. and if only the server can send emails, then its within the control of IT to open things up as necessary

its a worthwhile way to design the processes.





Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978


On Jun 20, 2022, at 7:23 AM, IT <it at plastipol.com> wrote:

Hi Martin,

You need SMTP OW3 worker not IMAP OW3  Worker.

I have modified the Omnis sample library as base for coding, so my omnis server is sending all my users emails. Users insert records with email data to be send and the server every minute sends all emails from all users. Makes retries, notify of error to users, etc. Better that every workstation sends his owns emails.

regards

xavier



El 18 jun 2022, a las 18:57, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> escribió:

Hi ALL,
I am studying IMAP OW3 Worker Object in the HUB.How do I use the library to send bulk emails?For example, sending customer statements as attachments to their email addresses.

Kind regards,Martin Obongita.
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 


_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 

_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 


  


More information about the omnisdev-en mailing list