On 1 Mar 2019, at 1:35, Aslak Raanes wrote:
On 21 Feb 2019, at 15:35, Benny Kjær Nielsen wrote:
I still haven't integrated MailMate with images from Contacts, but I
realized that it was fairly easy to use the
[Gravatar](https://www.gravatar.com) service.
One alternative could be use [Libravatar](https://www.libravatar.org/)
and its [federated api](https://wiki.libravatar.org/api/) which makes
it possible to run your own avatar server.
I didn't know that one. It does work:
{
formatString = "<img style=\"float: left; height: 60px;\"
src=\"https://seccdn.libravatar.org/avatar/${from.address.#md5}\"/>";
},
(But it appears to be slower which emphasizes that MailMate does not
cache these images.)
Since MailMate doesn't support the federated api (yet) one could use
Apache installed on macOS to redirect or reverse proxy to different
avatar servers.
Thanks for sharing. That is definitely taking the hack to new heights :)
--
Benny
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate