Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
github.com/vleedev/smtp-relay-rabbitmq
This app is used to listen to a queue of rabbitmq and send an email via SMTP connection
Use container image vleedev/smtp-relay-rabbitmq:latest
RABBITMQ_URL: your rabbitmq url service
QUEUE_NAME: a queue name to listen on that service
SMTP_HOSTNAME: smtp host
SMTP_PORT: smtp port
SMTP_USERNAME: smtp username
SMTP_PASSWORD: smtp password
SMTP_DEFAULT_EMAIL: default email if sender is not set
version: '3.7'
services:
smtp-relay-rabbitmq:
image: vleedev/smtp-relay-rabbitmq:latest
environment:
RABBITMQ_URL: amqps://wrfizrrb:Fz3wHpwrwLL39J31ekLR8kR_bBT0s8ruv@cougar.rmq.cloudamqp.com/wrfizrrb
QUEUE_NAME: my_project_app_email_queue
SMTP_HOSTNAME: email-smtp.us-west-2.amazonaws.com
SMTP_PORT: 587
SMTP_USERNAME: AKIATXPJWI7G5O3LIAFX
SMTP_PASSWORD: BNP9c2nm8taH7dpaZUXLpM7MP0OO6vQlSjfRX1Yk43vb
SMTP_DEFAULT_EMAIL: me@vlee.dev
You must prepare your data by encoding json structure as below
{
"from": "me@vlee.dev",
"to": [
"admin@google.com",
"ad@facebook.com"
],
"subject": "My subject",
"body_type": "text/html",
"body": "<html><body><p>This one is a test email from smtp-relay-rabbitmq</p></body></html>",
"attachment": [
"https://i.imgur.com/UbUQWHO.jpeg"
]
}
Note: publish to your queue with content-type
= application/json
Website: https://www.cloudamqp.com/
Look for your favourite language and implement it https://www.rabbitmq.com/getstarted.html
FAQs
Unknown package
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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.