Is it by design that the same email is sent per every attachment? Meaning that if there is for instance two attachments, the email is sent twice with the different attachments.
|
private static async Task<Output> SendExchangeEmailWithAttachments(Attachment[] attachments, GraphServiceClient graphClient, string subject, ItemBody messageBody, List<Recipient> to, List<Recipient> cc, List<Recipient> bcc, CancellationToken cancellationToken) |
Additionally, the return StatusString should be modified to have for instance String.Join(",", to) in line
|
StatusString = $"Email sent to: {to}" |
as the variable to is of type List<>, hence not returning the recipients correctly on the UI.
Is it by design that the same email is sent per every attachment? Meaning that if there is for instance two attachments, the email is sent twice with the different attachments.
Frends.Community.Email/Frends.Community.Email/EmailTask.cs
Line 211 in 5b77ca7
Additionally, the return StatusString should be modified to have for instance String.Join(",", to) in line
Frends.Community.Email/Frends.Community.Email/EmailTask.cs
Line 290 in 5b77ca7