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)
2015 年9 月 15 日 06:36
3
Any idea? In the last version the problem persists.
1 个赞
MiguelAngelLV
(Miguel Ángel López Vicente)
2015 年10 月 6 日 06:21
4
Any plugin to “remove” a line with a regular expression?
1 个赞
riking
(Kane York)
2015 年10 月 6 日 07: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)
2016 年1 月 9 日 04:12
6
神楽坂玲奈 zh99998@gmail.com于2016年1月9日周六 上午11:58写道:
/.+ .+@\w+.+于\d+.+\d+写道:/
1 个赞
This has been fixed by our latest improvements regarding our email in support.