domodwyer / mailyak

An elegant MIME/SMTP email library with support for attachments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use mail.Address instead of plain strings

ivanjaros opened this issue · comments

I think the title is self-explanatory.
Also the struct has a String() method to print formatted name and email together.

commented

You know what? I've no idea. I guess I didn't see it at the time?

It'd be a breaking change at this point, so it'll probably live on as a bare string (as much as I hate them...)

If I do another breaking release, I'll be sure to include it 👍