Azure / Microsoft365R

R SDK for interacting with Microsoft 365 APIs
Other
313 stars 44 forks source link

"bcc" in set_recipients #144

Closed mzuer closed 1 year ago

mzuer commented 1 year ago

Hi All,

I would like to send email to ''hidden'' recipients - I thought that the bcc parameter could be used for this purpose. However, it seems that when using

   set_recipients(to="email1@email.com",
                          cc = "email3@email.com",
                          bcc = "email2@email.com")

the email sent will look like

From: email2@email.com
To: email1@email.com
cc:  email3@email.com

=> the bcc parameter value is used as "from" instead as "blind cc".

Have I misunderstood something or is it a true issue ? How can I add ''hidden'' recipients ?

Thanks in advance

hongooi73 commented 1 year ago

That's how you're supposed to call the function. Check that you're setting all the emails correctly.