-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imgur embeds cause mail to go to spam #235
Comments
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 compsoc-edinburgh@c7449a0 — 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 |
(apparently)
We should embed these as an attachment and use it, as per this page
The text was updated successfully, but these errors were encountered: