malone icon indicating copy to clipboard operation
malone copied to clipboard

Name in the "to" field

Open yaghmr opened this issue 9 years ago • 1 comments

Hi all, it is possible to specify the name in the "to" field?

In this way:

to: "Test name <[email protected]>"

Thank you,

yaghmr avatar Mar 10 '16 08:03 yaghmr

@yaghmr look at kuvert in add_header (https://github.com/cyx/kuvert/blob/master/lib/kuvert.rb#L52) that calls quote_address_if_necessary

I've tried with from field, with no success. The method quote_if_necessary returns a weird encoded string like: "=?utf-8?Q?email_name?=" <[email protected]>.

Don't know with to field.

rapofran avatar Sep 27 '16 16:09 rapofran