Actions
Feature #17699
closedParse author's name enclosed in parentheses in the From field when creating a user account from an email
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
Emails header "From" can be not only in angles format, like this:
From: John Doe <john.doe@company.mail>but also in parentheses format, like this:
From: john.doe@company.mail (John Doe)For example sendmail from postfix does this when using switch -F.
The patch to fix this is attached.
Files
Updated by Toshi MARUYAMA about 10 years ago
- Category set to Email receiving
Please add test.
source:trunk/test/unit/mail_handler_test.rb
Updated by Toshi MARUYAMA about 10 years ago
- Subject changed from Parse email with header "From" in parens format to Parse email with header "From" in parentheses format
- Description updated (diff)
Updated by Stanislav German-Evtushenko about 10 years ago
Updated by Go MAEDA over 5 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA over 5 years ago
- File 17699-fix-using-mail-address-object.diff 17699-fix-using-mail-address-object.diff added
- Target version changed from Candidate for next major release to 4.0.2
I wrote a new patch. The code using Mail::Address
is shorter and maybe more reliable (I hope) than the code using our regular expressions.
Updated by Go MAEDA over 5 years ago
- File 17699-fix-using-mail-address-object-v2.diff added
Updated the patch. email.header['from']
can be nil or Mail::UnstructuredField
object (does not have addrs
method).
Updated by Go MAEDA over 5 years ago
- File deleted (
17699-fix-using-mail-address-object-v2.diff)
Updated by Go MAEDA over 5 years ago
Updated by Go MAEDA over 5 years ago
Updated the patch again. from_addr.comments
also can be nil.
Updated by Go MAEDA over 5 years ago
Updated by Go MAEDA over 5 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the patch.
Updated by Go MAEDA over 5 years ago
- Subject changed from Parse email with header "From" in parentheses format to Parse author's name enclosed in parentheses in the From field when creating a user account from an email
Actions