Creating Urls for file on servers and sending them in mail (Python)

Viewed 28

I have a script setup to send mails daily to group of people with an attachment in it. I am using python with sendgrid api. I am not able to send email when attachment is more than 25MB. I have all my files saved on server. Is there a way to create a url for these saved files and send this link over email so that users can download the file ? Or is there is any better way to handle large files over email.

Note: I have automated this mailing system. So cannot send it manually each time it fails.

0 Answers
Related