Azure-Samples / Azure-Samples/communication-services-dotnet-quickstarts

SendEmail - Inline Attachments for Logos in HTML

Open
#56 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
114
Forks
145
PR merge metrics
No merged PRs in 30d

Description

Hi there,

```
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

Can only add Attachments but no linked Resource

![image](https://user-images.githubusercontent.com/7533842/195279744-c9f5d43a-f451-4a00-ab13-964ab173fc8f.png)

### Expected/desired behavior
>
How to make Inline Attachments to have Images in HTML

![image](https://user-images.githubusercontent.com/7533842/195278974-0362d0fd-b3f8-4ab9-963a-7fc4d98d28f3.png)

Like in .NET Framework with

```
AlternateView av1 = AlternateView.CreateAlternateViewFromString
(“
” +
strMailContent, null, MediaTypeNames.Text.Html);

av1.LinkedResources.Add(logo);
```

Best regards.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.