I have an Azure Timer Trigger function, which generates an excel file, and I need to send it via an email, as an attachment. I have done the following successfully -
- Created the file and uploaded it into an azure blob
- Sent email without attachment (Using SmtpClient and MailMessage)
How can I fetch the file from Azure Blob and send it as an attachment?
P.S. I was able to send it as an attachment, when I stored the file in Azure's local storage of the function. However, I want to move the storage of the file to Azure Blob