charmbracelet / pop

Send emails from your terminal 📬
MIT License
2.26k stars 41 forks source link

Can we get display name support #37

Open bernadinm opened 9 months ago

bernadinm commented 9 months ago

Is your feature request related to a problem? Please describe. This pop cli works but is missing a feature where we need to ensure the proper display name is configurable. At the moment, when the email is received from this client, it shows up on the recipient's inbox as the alias name of the email. If you can perhaps use a display name flag such as -d <name of person> this will be easily seen at a glance in the recipient's inbox.

Describe the solution you'd like If we can add support for --display-name, -d that would be useful.

Describe alternatives you've considered I attempted to control the display name from the email exchange provider, however, it is ignored from pop.

gabrielcipriano commented 9 months ago

Have you tried something like this?

pop < message.md \
    --from "Example Name <me@example.com>" \
    --to "you@example.com" \
    --subject "Hello, world!" \
    --attach invoice.pdf
vasyakrg commented 5 months ago

export POP_FROM=admin@domain.com not work too message delivered with username in "from" filed

rahji commented 2 months ago

Have you tried something like this?

pop < message.md \
    --from "Example Name <me@example.com>" \
    --to "you@example.com" \
    --subject "Hello, world!" \
    --attach invoice.pdf

Just verified that this works.