diaspora/app/mailers
Benjamin Neff dc9a18e24d
Cleanup unicode emojis from email headers
Some email providers (for example gmail) block emails if they have
emojis in the from header, as they could be confused with UI elements.
So the easy solution is to just filter all emojis from the name.

The normal `\p{Emoji}` selector also matches normal numbers, because of
the emoji-version of numbers (1️⃣), but the `\p{Emoji_Presentation}` then
doesn't match colored emojis anymore (❄️), so we need a mix of both to
find all emojis
2023-06-09 04:20:15 +02:00
..
notification_mailers Cleanup unicode emojis from email headers 2023-06-09 04:20:15 +02:00
application_mailer.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
diaspora_devise_mailer.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
export_mailer.rb Remove markerb dependency 2022-07-16 04:22:51 +02:00
maintenance.rb Remove markerb dependency 2022-07-16 04:22:51 +02:00
notifier.rb Use template_name instead of action_name for notification mails 2022-07-20 21:26:58 +02:00
report_mailer.rb Fix some keyword args for ruby 3 compatibility 2022-07-21 01:25:53 +02:00