SI: azure folder attachments are not sent in emails

Description

When sending an email with an attachment where the file resides in an Azure provider folder, the email is not sent and an exception is thrown. see

Emails sent with local file attachments are sent correctly with all files intact. Issue is only with Azure folder provider.

Emails were sent with the third party module Newsletters and Avt Action form.

Steps to reproduce:
1) set up a demo of AVT action form module and activate as trial
2) setup an email to be sent with an attachment from an azure folder

Expected Result: email should be sent with the attachment.

Actual Result: email is not sent

QA Test Plan

None

Attachments

1

Activity

Show:

Ash Prasad April 15, 2015 at 8:57 PM

This is very likely a problem in the SendMail API in platform. One of the overloads of this API expects a list of file names as attachment. While this works with file from local file system, it won't work with database or any other non-local file system.

We need to crate a new override where it accepts list of DNN FileIds (or FileInfo objects) as parameter as opposed to file names. The implementation then needs to download the file's content using file / folder manager apis.

Shan Bains April 15, 2015 at 5:34 PM

Yes, this issue is also present in the newsletter module.

You cannot send an email with an attachment using the azure folder provider.

the following error message is received when trying to send an email:
User SuperUser Account submitted Bulkmail 'sdfasfs' to 1 recipients. Please review the sendout report for failed transmissions and the senders inbox for returns.

Chris Paterra April 15, 2015 at 4:38 PM

Why is this our bug when it is clearly an issue w/ the third party module?
Can you reproduce this using Azure and the Newsletter module we ship with?

Won't Fix

Details

Assignee

Reporter

Story Size

Unknown

Severity

Minor

Triage

New

Includes Code Fix

No

Documentation Required

No

Trouble Ticket

Components

Fix versions

Affects versions

Priority

Created April 14, 2015 at 11:23 PM
Updated December 14, 2016 at 8:04 PM
Resolved December 12, 2016 at 11:33 PM