Allow a display name when inviting users

Alex's Avatar

Alex

15 Nov, 2011 08:35 AM

Steps that will reproduce the problem?
1. Invite a user
2. Enter the address using the following syntax: "User Name <local-part@domain>"

What is the expected result?
Send invite.

What happens instead?
Error message: not a valid mail address

Possible workaround:
Use only the "local-part@domain" part.

Any additional information:
From RFC 2822:

Normally, a mailbox is comprised of two parts: (1)
   an optional display name that indicates the name of the recipient
   (which could be a person or a system) that could be displayed to the
   user of a mail application, and (2) an addr-spec address enclosed in
   angle brackets ("<" and ">").  There is also an alternate simple form
   of a mailbox where the addr-spec address appears alone, without the
   recipient's name or the angle brackets.
  1. Support Staff 1 Posted by Courtenay on 15 Nov, 2011 08:38 AM

    Courtenay's Avatar

    Trust me man, I am very familiar with RFC2822. One of the biggest discrete sections of our codebase is the mail forwarder and parser, at about 1500 lines.

  2. 2 Posted by Alex on 15 Nov, 2011 08:43 AM

    Alex's Avatar

    No offense meant. Just to make clear what I wanted to say. I'm sure you know this RFC much better than me.

  3. Support Staff 3 Posted by Courtenay on 15 Nov, 2011 08:57 AM

    Courtenay's Avatar

    Yeah, no offense taken. Just funny someone else is quoting it at me rather than the other way around.

    Anyway, I've fixed this and it'll go up in the next deploy later tonight. For now it just parse the email address better, but doesn't set the name. We can't quite do that the way invites work right now, but I've left a dev ticket open for it.

  4. Courtenay closed this discussion on 15 Nov, 2011 08:57 AM.

  5. Nicole closed this discussion on 18 Jul, 2012 01:41 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac