sabuhish / fastapi-mail

Fastapi mail system sending mails(individual, bulk) attachments(individual, bulk)
https://sabuhish.github.io/fastapi-mail/
MIT License
673 stars 82 forks source link

How to use a remote folder for TEMPLATE_FOLDER? #170

Open smohadjer opened 1 year ago

smohadjer commented 1 year ago

I want to use templates that are located on a different server, but I can not assign the path of remote folder to TEMPLATE_FOLDER. Here is the example path for a remote template that I wish to use:

https://raw.githubusercontent.com/smohadjer/slaven/master/app/content/email_templates/camp.html

Any idea how I can use this template for my email using TEMPLATE_FOLDER?

sabuhish commented 1 year ago

Currently, we dont have such a feature, but @Turall had an idea about it may be in the near future we might include this.