mirror of
https://dev.azure.com/tstanciu94/Services/_git/Correo
synced 2025-03-29 15:21:26 +02:00
small fix
This commit is contained in:
parent
f6a9230d85
commit
e4130c29ba
@ -79,7 +79,5 @@ This configuration area is:
|
||||
}
|
||||
```
|
||||
|
||||
For the moment, the only purpose of the database is to store the logs generated by Serilog.
|
||||
|
||||
## Hosting
|
||||
The only hosting environment tested for this service is Docker, but considering that .NET 6 is cross platform, it can most likely be hosted in any environment.
|
@ -7,7 +7,7 @@ namespace Correo.Mailgun.Extensions
|
||||
internal static class ModelExtensions
|
||||
{
|
||||
public static string ToMailgunAddress(this EmailMessage.MailAddress address)
|
||||
=> $"{address.DisplayName} <{address.Address}>";
|
||||
=> string.IsNullOrEmpty(address.DisplayName) ? address.Address : $"{address.DisplayName} <{address.Address}>";
|
||||
|
||||
public static string ToMailgunAddresses(this IEnumerable<EmailMessage.MailAddress> addresses)
|
||||
{
|
||||
|
@ -13,6 +13,6 @@ namespace Correo.PublishedLanguage.Commands
|
||||
public IEnumerable<MailAddress> Bcc { get; init; }
|
||||
public bool IsBodyHtml { get; init; }
|
||||
|
||||
public record MailAddress(string Address, string DisplayName);
|
||||
public record MailAddress(string Address, string DisplayName = null);
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.1</Version>
|
||||
<PackageIcon>correo.png</PackageIcon>
|
||||
<Description>Correo published language</Description>
|
||||
</PropertyGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user