Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCC not visible in Mongo #771

Open
leonidiy2000 opened this issue Dec 30, 2024 · 4 comments
Open

BCC not visible in Mongo #771

leonidiy2000 opened this issue Dec 30, 2024 · 4 comments

Comments

@leonidiy2000
Copy link

Hello,

I am using POST /users/{user}/mailboxes/{mailbox}/messages endpoint, and have a question regarding the bcc field. I don't see the field anywhere in mongo, even though I have it on the payload. I tried sending it both in the 'root' of the request, next to from/to/cc (like in documentation) and in headers object. On message fetch later on bcc field is an empty array.

Could you please help me with that, maybe I am doing something wrong.

@NickOvt
Copy link
Contributor

NickOvt commented Jan 17, 2025

Hi! You can find the bcc header value in mongo. In the messages collection locate your message and go to mimetree.headers, there you should see the BCC value. Hope that helps!

@NickOvt
Copy link
Contributor

NickOvt commented Jan 17, 2025

The BCC header value will be present only on the message of the sender who specified the BCC value. Receivers will not see the header (as per the RFC).

@NickOvt
Copy link
Contributor

NickOvt commented Jan 31, 2025

@leonidiy2000 Has that resolved the issue? If yes, I'll close this issue as resolved.

@leonidiy2000
Copy link
Author

Hi! I think I checked there already and didn't see it there. It's possible I didn't save it properly for the user, but I won't be able to check it in the nearest future. I think you can resolve and I will come back to it, if something isn't working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants