mariordev / mailtoui

A simple way to enhance your mailto links with a convenient user interface.
https://mailtoui.com
MIT License
192 stars 12 forks source link

Empty &cc= and &bcc= params are sent for default app if there are no values for it #11

Open stefandries opened 5 years ago

stefandries commented 5 years ago

My mailto: does not contain a CC or BCC param, but still the URL called for the default mail app contains the (empty) params. This causes issues with desktop version of Outlook, as it puts "&bcc=" in the CC: field.

My code:

<a class="maiiltoui" href="mailto:test@mail.com&subject=Demo&body=Great piece of code, Mario!">click here</a>

image

mariordev commented 5 years ago

Yeah, sadly Outlook doesn't support cc or bcc from a mailto link. My guess is that this bug has to do with that. I'll take a look as soon as I can. Thanks for reporting it, @stefandries !