Mailer

Extensions can be downloaded and installed to add functionality to Helium Scraper 3
Post Reply
webmaster
Site Admin
Posts: 491
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Mailer

Post by webmaster » Sat Aug 10, 2019 6:59 pm

This extensions allows Helium Scraper to send emails from most email providers and optionally attach files. To install it, just download the attached file and double click it, or install it at File -> Extensions. After installed, a new Wizard item will appear at Wizard -> Mailer -> Send. Since this is an action, it must be used within a global that contains other actions. For instance, to send an email after an extraction completes, add an Action.Extract that extracts the Main global into the Main table:

Code: Select all

Action.Extract
   ·  Main
   ·  "Main"
Then, add a placeholder, right click it and select Wizard -> Mailer -> Send. Keep the name as is, and press Next. On the next screen, and enter a Host, Port and set of Credentials. The default host and port are for Gmail. Then press Next again and fill up the email details. An attachment location can be selected to attach all files in either the Downloads or Exports folder of the current project. The final global will end up looking something like this:

Code: Select all

Action.Extract
   ·  Main
   ·  "Main"
Send
   ·  "example@outlook.com"
   ·  "The Subject"
   ·  "The Message"
   ·  "None"
Note that in order to send from Gmail, the less secure app access Gmail setting must be enabled for your account.

The following example clears the Main table set, then extracts Main and sends the data as an Excel file to example@outlook.com:

Code: Select all

Action.ClearData
   ·  "Main"
Action.Extract
   ·  Main
   ·  "Main"
Action.ExportData
   ·  "Main"
   ·  "results.xlsx"
   ·  true
Send
   ·  "example@outlook.com"
   ·  "The Subject"
   ·  "The Message"
   ·  "Exports"
Note that, after Wizard -> Mailer -> Send has been used once in a project, the Wizard -> Send item will be added to the project and selecting this will allow you to send additional emails without having to enter your credentials again.
Attachments
Mailer.hsxt
(199 Bytes) Downloaded 14 times
Juan Soldi
The Helium Scraper Team

Post Reply