[HttpGet(“Send”)]
public async Task Send()
{
await _queueCommunicator.SendAsync
(
new SendEmailCommand()
{
To = "test@test.com",
Subject = “Testing Email”,
Body = “Best Body Around”
}
);
return Ok(“Sent”);
}
POST EMAIL
最新推荐文章于 2021-08-10 15:57:32 发布