If you reply using email, gmail add
El 2/7/2015 3:11 p. m., “MiguelAngelLV” hacklabalmeria.discourse@gmail.com escribió:
The format is: datetime, nick of last user, email address that send the email, and “wrote” o “escribió” in spanish, and this message is show in the reply, example
I know that “this is not a bug of Discourse”, but gmail is a popular email.
Would be added a regular expression or something to remove the message?
3 إعجابات
I think this has to do with localization. Not sure if GitHub, where we got the email library from, deals with localized string detection in email.
إعجاب واحد (1)
MiguelAngelLV
(Miguel Ángel López Vicente)
15 سبتمبر 2015، 6:36ص
3
Any idea? In the last version the problem persists.
إعجاب واحد (1)
MiguelAngelLV
(Miguel Ángel López Vicente)
6 أكتوبر 2015، 6:21ص
4
Any plugin to “remove” a line with a regular expression?
إعجاب واحد (1)
riking
(Kane York)
6 أكتوبر 2015، 7:18ص
5
Submit a PR to add another alternation here:
return unless Email::MessageIdService.discourse_generated_message_id?(@message_id)
incoming_email.update(
imap_uid_validity: @opts[:imap_uid_validity],
imap_uid: @opts[:imap_uid],
imap_group_id: @opts[:imap_group_id],
imap_sync: false,
)
incoming_email
end
def is_blocked?
return false if SiteSetting.ignore_by_title.blank?
Regexp.new(SiteSetting.ignore_by_title, Regexp::IGNORECASE) =~ @mail.subject
end
def create_incoming_email
cc_addresses = Array.wrap(@mail.cc)
cc_addresses.concat(embedded_email.cc) if has_been_forwarded? && embedded_email&.cc
IncomingEmail.create(
إعجابَين (2)
zh99998
(zh99998)
9 يناير 2016، 4:12ص
6
神楽坂玲奈 zh99998@gmail.com于2016年1月9日周六 上午11:58写道:
/.+ .+@\w+.+于\d+.+\d+写道:/
إعجاب واحد (1)
zogstrip
تم إغلاقه في
23 مارس 2016، 7:00م
7
This has been fixed by our latest improvements regarding our email in support.