mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Enable Multi MIME and add alt tags to images (#1838)
* Add alt to mail images * Use Mulipart MIME in emails * Requested PR changes
This commit is contained in:
parent
e1237bba7a
commit
b5bc328986
3 changed files with 35 additions and 7 deletions
|
@ -40,7 +40,7 @@ namespace Ombi.Notifications
|
|||
var body = new BodyBuilder
|
||||
{
|
||||
HtmlBody = html,
|
||||
//TextBody = model.Other["PlainTextBody"]
|
||||
TextBody = model.Other["PlainTextBody"]
|
||||
};
|
||||
|
||||
var message = new MimeMessage
|
||||
|
@ -104,7 +104,7 @@ namespace Ombi.Notifications
|
|||
var body = new BodyBuilder
|
||||
{
|
||||
HtmlBody = model.Message,
|
||||
//TextBody = model.Other["PlainTextBody"]
|
||||
TextBody = model.Other["PlainTextBody"]
|
||||
};
|
||||
|
||||
var message = new MimeMessage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue