mailtoui icon indicating copy to clipboard operation
mailtoui copied to clipboard

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

Open stefandries opened this issue 6 years ago • 1 comments

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:[email protected]&subject=Demo&body=Great piece of code, Mario!">click here</a>

image

stefandries avatar Sep 11 '19 11:09 stefandries

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 !

mariordev avatar Sep 13 '19 16:09 mariordev