Command Line
- Open directory source\NotificationService in command line and execute dotnet run.
- Open https://localhost:5000.
Visual Studio Code
- Open source directory in Visual Studio Code.
- Press F5.
Visual Studio
- Open source\NotificationService.sln in Visual Studio.
- Set NotificationService as startup project.
- Press F5.
Ethereal
{
"Smtp": {
"Host": "smtp.ethereal.email",
"Port": 587,
"Timeout": 10,
"Ssl": true,
"User": "user.name@ethereal.email",
"Password": "Password",
"Display": "Notification Service"
}
}
https://localhost:5000/emails
{
"subject": "Subject",
"body": "Body",
"files": [
{
"Name": "Attachment.txt",
"Bytes": "QXR0YWNobWVudA=="
}
],
"to": [
{
"Address": "name1.surname1@ethereal.email",
"Display": "Name 1 Surname 1"
}
],
"copyTo": [
{
"Address": "name2.surname2@ethereal.email",
"Display": "Name 2 Surname 2"
}
],
"blindCopyTo": [
{
"Address": "name3.surname3@ethereal.email",
"Display": "Name 3 Surname 3"
}
]
}