pimlie / authres_status

Roundcube plugin that checks the Authentication-Results headers (rfc5451) of your emails and displays the verification status.
Other
36 stars 20 forks source link

Fix for elastic skin #36

Closed ScottPeterJohnson closed 4 years ago

ScottPeterJohnson commented 4 years ago

Tentative fix for #26, adds support for the Elastic skin.

photoninger commented 4 years ago

This patch works only for english users, I changed the regex to be less specific and moved the img between "from" and the address: return array('content' => preg_replace('/(<span>.*)(<span class="adr">)/', '$1' . $this->img_status . ' $2 ', $p['content']));

And it also works with $this->populate_message_headers($p); instead of $this->populate_message_headers($GLOBALS['MESSAGE']);

pimlie commented 4 years ago

Closing this PR as support has been added in #37, thanks for your contrib though!