All Projects → savsgio → microservice-email

savsgio / microservice-email

Licence: GPL-3.0 license
Microservice for send emails

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to microservice-email

docker-case
这个项目主要是为了快速拉起docker服务
Stars: ✭ 31 (+24%)
Mutual labels:  rabbitmq
Haredo
Node.js library for RabbitMQ
Stars: ✭ 76 (+204%)
Mutual labels:  rabbitmq
spring-cloud-stream-outbox-extension
Spring Cloud Stream Transactional Messaging Extension
Stars: ✭ 18 (-28%)
Mutual labels:  rabbitmq
tomodachi
💻 Microservice library / framework using Python's asyncio event loop with full support for HTTP + WebSockets, AWS SNS+SQS, RabbitMQ / AMQP, middleware, etc. Extendable for GraphQL, protobuf, gRPC, among other technologies.
Stars: ✭ 170 (+580%)
Mutual labels:  rabbitmq
TelephoneDirectory
microservices-> .net 6, golang - Docker, Ocelot, RabbitMq, MassTransit, mssql, postgresql, elasticsearch, kibana, jwt
Stars: ✭ 40 (+60%)
Mutual labels:  rabbitmq
waspy
WASP framework for Python
Stars: ✭ 43 (+72%)
Mutual labels:  rabbitmq
go-im
基于Golang编写的高性能im服务器 🚀
Stars: ✭ 220 (+780%)
Mutual labels:  rabbitmq
dis-seckill-test
⭐⭐⭐SpringBoot+Zookeeper+Dubbo打造分布式高并发商品秒杀系统
Stars: ✭ 20 (-20%)
Mutual labels:  rabbitmq
nest-rabbit-tasks
nest-rabbit-worker is a TaskQueue based upon RabbitMQ for NestJS
Stars: ✭ 29 (+16%)
Mutual labels:  rabbitmq
RabbitMQDemo
🌵 基于EasyNetQ操作RabbitMQ的Demo项目
Stars: ✭ 75 (+200%)
Mutual labels:  rabbitmq
slackotron
A plugin extensible Slack bot.
Stars: ✭ 13 (-48%)
Mutual labels:  rabbitmq
postman
Reverse proxy for async microservice communication
Stars: ✭ 30 (+20%)
Mutual labels:  rabbitmq
pan
Pan is a high performance mq proxy,support kafka,rabbit-mq,rocketmq,nsq and other mq
Stars: ✭ 27 (+8%)
Mutual labels:  rabbitmq
bunnybus
Enterprise bus facade for creating a data transit system.
Stars: ✭ 45 (+80%)
Mutual labels:  rabbitmq
Liquid-Application-Framework
Liquid Application Framework documentation, useful links and sample project
Stars: ✭ 467 (+1768%)
Mutual labels:  rabbitmq
longears
The RabbitMQ client for R
Stars: ✭ 32 (+28%)
Mutual labels:  rabbitmq
dinivas
AWS, GCP alternative on premise. Dinivas manage your private Cloud (OpenStack) infrastructure by providing many features based on popular Open Source projects
Stars: ✭ 15 (-40%)
Mutual labels:  rabbitmq
frontreport
Simple frontend logging collector written in Go
Stars: ✭ 23 (-8%)
Mutual labels:  rabbitmq
xiaomi-vue-store
基于Vue + SpringBoot实现的前后端分离的仿小米商城项目,包含秒杀模块。
Stars: ✭ 58 (+132%)
Mutual labels:  rabbitmq
go-mq
Declare AMQP entities like queues, producers, and consumers in a declarative way. Can be used to work with RabbitMQ.
Stars: ✭ 76 (+204%)
Mutual labels:  rabbitmq

microservice-email

Build Status Go Report Card GitHub release

Microservice to send emails

System requirements

Installation

Download Go dependencies and build:

make

Install

make install

After, you can exec with

microservice-email

Optional arguments:

  • -log-level: Level of log that you want to show (default: info)
  • -config-file: Path of configuration file (default: /etc/microservice-email.yml)
  • -version: Print version of service

API:

This API only accept POST http request with below parameters in body:

Explanation (all are required):

  • to: List of emails of destiny
  • subject: Subject of email
  • content_type: Content type of email that it can be text/plain or text/html
  • body: Content of email

Example of request to send a email:

{
  "to": ["[email protected]", "[email protected]"],
  "subject": "Hi, my friend",
  "content_type": "text/html",
  "body": "<h1>This is the body of my Email in HTML format</h1>"
}

Docker

Dependencies

Build:

make docker_build

Run:

make docker_run

For Devs

Copy config/microservice-email.conf to config/microservice-email.dev.conf.yml (this file not tracked in Git), modify each config and exec:

make run

Note: If you want to use with Docker, make sure you have this rabbitmq configuration in config/microservice-email.dev.conf.yml:

...
rabbitmq:
  host: rabbitmq
  user: guest
  password: guest
  ...
...

Contributing

Feel free to contribute it or fork me... 😉

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].