Thanks to visit codestin.com
Credit goes to github.com

Skip to content

simple mailer, sends mail to an specific receiver, has consumed by the RMQ consumer, it has also api to add new sender mail and corresponding appkey.

Notifications You must be signed in to change notification settings

wildonion/namehresoon

Repository files navigation

mailservice

setup:

sudo docker login docker.sprun.ir
sudo chmod +x redeploy.sh && ./redeploy.sh

go to server and run

sudo docker compose -f "docker-compose.yml" pull
sudo docker compose -f "docker-compose.yml" up -d

install:

dotnet add package MailKit
dotnet add package Newtonsoft.Json
dotnet add package MassTransit
dotnet add package MassTransit.RabbitMQ
dotnet add package Microsoft.EntityFrameworkCore
dotnet add package Microsoft.EntityFrameworkCore.Design && dotnet add package Microsoft.EntityFrameworkCore.Tools
dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL
dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL.Design
dotnet ef migrations add InitialCreate
dotnet ef database update
dotnet tool install --global dotnet-ef

ensure that you've already setup the DOCKER_USERNAME, DOCKER_PASSWORD, SERVER_HOST, SERVER_PASSWORD, SERVER_USER secret vars.

About

simple mailer, sends mail to an specific receiver, has consumed by the RMQ consumer, it has also api to add new sender mail and corresponding appkey.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published