registration
registration copied to clipboard
Imgur embeds cause mail to go to spam
The other option is to host them statically in GitHub pages? We need to make sure that base64 get loaded correctly on all email clients.
Found this: https://djangosnippets.org/snippets/285/
The other option is hosting the static files on my.hackwhatever.tld but I still think attaching the image is safer. I think GitHub pages will still send it to spam because the sender domain != Image domain.
What about hosting it in aws with S3 and using it as a cdn?
I feel the best option is going to host it on the same server as static files. May be difficult to debug on local, so maybe we can use imgur as a fallback when DEBUG mode is on. Keeping them on the project makes it more manageable and reduces the chances of getting into SPAM as it will be from the same domain.
that has the same issue of hosting images on a foreign domain.
Fair. Then we need to explore: https://djangosnippets.org/snippets/285/
Btw an easier option would just be to use this commit https://github.com/compsoc-edinburgh/hackassistant-registration/commit/c7449a071498b4b23698855c95680c2ec0aaafce — not sure if image support is worth all the effort
Problem with Base64 links is that Outlook blocks it. Will check locally. Interesting article about different alternatives: https://sendgrid.com/blog/embedding-images-emails-facts/
Just tested. Images don't work correctly on GMail for Android/Web. Will try to do the attachment ones as suggested before.
Yup, I initially tried base64 and encountered the same issue with Gmail