Closed
Bug 696896
Opened 13 years ago
Closed 13 years ago
Error sending to Valid email addresses
Categories
(Mozilla Labs :: F1, defect, P1)
Mozilla Labs
F1
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: markh, Unassigned)
Details
(Whiteboard: [api])
Attachments
(1 file)
Try to share via gmail with an address of the form "Real Name <your.addy@somewhere.com>" and you get:
info: SMTP OUT @ Tue Oct 25 2011 08:37:33 GMT+1100 (AUS Eastern Daylight Time):
RCPT TO: <Mark Hammond <mhammond@skippinet.com.au>>
info: SMTP IN @ Tue Oct 25 2011 08:37:33 GMT+1100 (AUS Eastern Daylight Time):
555 5.5.2 Syntax error. 15sm66506991anz.16
info: EXCEPTION {"code":"error","message":"555 5.5.2 Syntax error. 15sm66506991anz.16"}
got gmail send result {"error":{"type":"server_error","reply":"555 5.5.2 Syntax error. 15sm66506991anz.16"}}
SEND FAILURE: error/555 5.5.2 Syntax error. 15sm66506991anz.16
error: mediator reported invocation error: There was a problem sharing this page: 555 5.5.2 Syntax error. 15sm66506991anz.16
Reporter | ||
Comment 1•13 years ago
|
||
The fix to this bug actually has 2 parts:
* Need an email address parser - not trivial but not rocket science either.
* The API needs to change - we will need to change resolveRecipients to parse the complete "to" line - currently the mediator does a simple split on a comma and passes the result array to resolveRecipients, but this will not handle email addresses of the form "Hammond, Mark <foo@bar.com>". Adding [api] so we can resolve this before evangelizing the api.
Whiteboard: [api]
Reporter | ||
Comment 2•13 years ago
|
||
Pointer to Github pull-request
Reporter | ||
Updated•13 years ago
|
Attachment #576320 -
Flags: review?(mixedpuppy)
Updated•13 years ago
|
Attachment #576320 -
Flags: review?(mixedpuppy) → review+
Reporter | ||
Comment 3•13 years ago
|
||
Fixed in commit 49d3d685ac002a8949b26efb3c0671e8368848ec
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•