gmail.js icon indicating copy to clipboard operation
gmail.js copied to clipboard

cc / bcc doesn't work correctly on compose/reply

Open ingjavierjara opened this issue 7 years ago • 2 comments

Hi!,

I noticed an issue when your set a cc/bcc using:

var composeDom = gmail.dom.composes()[0]; composeDom.bcc('[email protected]');

or

composeDom.$el.find('textarea[name=bcc]').val('[email protected]');

is neccesary select the bcc on the ui (when make click on "bcc" the textbox showed contain correctly '[email protected]'), if you don make click on the bcc and send the file the file is just sent to the recipient "to", the bcc is ignored , I reviewed on the sent folder this behavior image

in both files I added the bcc just, on the first I made click on the bcc link to confirm the data is added correctly, you can see on the other email the bcc was ignored, I guess is related to hidden elements or something similar because the "to" works correctly.

B/R,

Javier Jara.

ingjavierjara avatar Oct 09 '18 20:10 ingjavierjara

Thanks for the report!

It definitely sounds like a bug, and I can see you've done some nice debugging.

Feel free to issue a PR for this.

josteink avatar Oct 10 '18 07:10 josteink

Any news about this bug? I was trying triggering click event on bunch of elements but without success...

markon1 avatar Jul 07 '20 16:07 markon1