Linx 5 - SendEmail Sample
Linx 5 - SendEmail Sample
This sample sends emails with data retrieved from the Northwind database. You can get sample Northwind databases
here.
This Linx Solution uses the Email and Database plugins.
There are three Processes:
- SendEmailToMadridCustomers. Retrieves Madrid customers and sends plain text email.
- SendFancyEmailToCityCustomers. Retrieves customers from the City provided as a parameter, formats an html email and sends it.
- SendEmailAndNotifyStats. Retrieves Madrid customers, sends plain text email and notifies you via email how many emails were sent.
To run the sample:
- Open the SendEmail solution with Linx Designer.
- Click on the Settings button.
- On the Settings tab change the values of the Settings to suit your environment (if you need help with the database connection string, have a look at
this help topic).
- Open the sample Process you want to run from the Solution Explorer pane on the left.
- Click the Debug or Run buttons to run the Process. For SendFancyEmailToCityCustomers you have to supply the City name as a parameter (bottom right in the debugger) or else nothing will be retrieved.