Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
embulk-output-send_email
Advanced tools
Infoobjects is a consulting company that helps enterprises transform how and where they run applications and infrastructure. From strategy, to implementation, to ongoing managed services, Infoobjects creates tailored cloud solutions for enterprises at all stages of the cloud journey.
#Send email output plugin for Embulk
An output plugin for Embulk to send email with data
587
)(required)smtp.gmail.com
) (required)NOTE: If format_type is html and path is given in field 'template', make sure - The templates should have '{{data}}' placeholder so that the data generated by send_email plugin will be put here; sample .html and .txt is shown below -
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<header>
Hi Team,
<h3>Here is the project</h3>
</header>
<h1> hello </h1>
{{data}}
<footer>
Thanks,<br>
ABC
</footer>
</body>
</html>
-------------------------------------------
Hi John,
Here is the daily ETL data
{{data}}
Thanks,
ABC
Say input.csv is as follows:
year country_code country_name literacy_rate
1990 1 India 80%
1993 2 USA 83%
1997 3 JAPAN
1999 4 China 72%
2000 5 Ukraine 68%
2002 6 Italy 79%
2004 7 UK 75%
2011 8 NULL 42%
out:
type: send_email
to:
- abc@gmail.com
- def@gmail.com
from: pqr@gmail.com
password: password
port: 587
username: pqr@gmail.com
host: smtp.gmail.com
subject: XYZ123
row: 3
format_type: html
protocol: TLSv1.2
auth: true
enable_starttls: true
template: C:\Users\Abhishek Gupta\Desktop\github\embulk-output-send_email\example\email.txt
is_html: false
Run example:
$ ./gradlew package
$ embulk run -I ./lib seed.yml
Deployment Steps:
Install ruby in your machine
$ gem install gemcutter (For windows OS)
$ ./gradlew gemPush
$ gem build NameOfYourPlugins (example: embulk-output-send_email)
$ gem push embulk-output-send_email-0.1.0.gem (You will get this name after running above command)
Release gem:
$ ./gradlew gemPush
InfoObjects license (MIT License)
FAQs
Unknown package
We found that embulk-output-send_email demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.