4 ms·
> “John Smith” <john@example.com> Why would email clients copy a string like this? In my entire history of email copying and pasting, I don't think I've ever w
by jkubicek 13y ago
> “John Smith” <john@example.com>
Why would email clients copy a string like this? In my entire history of email copying and pasting, I don't think I've ever wanted that text.
- philfreo 13y agoWell it's the standard format for displaying both the user's name & email address together (and part of the SMTP spec). But yeah - typically you just want the real address part. In Gmail at least you can get what you want with some careful highlighting - but Apple Mail doesn't let you copy that portion at all. Hence this feature :)
- deweerdt 13y agoI'm going to go ahead and be pedantic: that format is not part of the SMTP spec. It's part of the Internet Message Format RFC (5322 in its latest incarnation), which describes what's in the body of the email. The SMTP spec (RFC 5321) which describes what goes on the wire between an SMTP client and an SMTP server uses addresses in a '<to@example.com>' format.
- Dylan16807 13y agoCurse you off-by-one errors!
- deleted 13y ago[deleted]
- joeblossom 13y agoWhen you copy from outlook, it copies that unless you first double click on the contact then select just the email address.
- timjahn 13y agoThis is standard behavior for Outlook.
- jeffclark 13y agoMe neither. OS X Mail has a hidden option that you can enable, so that Mail copies just the email address. Copy this into your Terminal and restart Mail: defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
- oneeyedpigeon 13y agoIf only copy+paste worked with structured data, rather than just plain text, we'd have this behaviour everywhere. Sure, it's not a trivial problem, but there must be something possible along these lines.
- FuzzyDunlop 13y agoPossibly tangential, but you can copy and paste and get different results based on context (eg. copy image file, paste into HTML doc, get image tag; paste into terminal, get path; paste into mail client, get attachment; paste into image editor, get the image itself). It definitely works in OSX, but IIRC it's supported in Windows too. I last tried this around 18 months ago, in a Firefox extension. Was a bit fiddly but I could do what I wanted.
- frenchy 13y agoIt works on virtually all desktop systems (Linux, OSX, Windows) and has for a good long time, it's just a matter of whether or not the application has implemented support for it. You're more limited in what you can do in a web application though.
- positr0n 13y agoLotus Notes :(
- twistedpair 13y agoNewsworthy? So they decided to copy how Gmail's contacts form has been working for the last 4 years? Brainwave!
- mseebach 13y agoIn GMail it's very easy to get a string like that, and it has the added benefit of giving you name and address together in a single copy-paste.