Closed stefanodvx closed 6 months ago
Also, the preview message is always "hello" (cause of the payload used?). Another fact: this issue does not cover ANY message. Just a few. If you want to reproduce, please give me a private contact and I'll provide the body used. I believe there's an issue with the MIMEText formatting for certain bodies.
Update: if body exceeds 729 characters, it will cause this issue.
I believe there's an issue with the MIMEText formatting for certain bodies.
You are right, the problem was that Base64 needs to be split into lines every 76 characters
the preview message is always "hello"
The message preview is always “hello”, because I didn’t know which one to put, there are 3 options:
Now I think that the “hello” preview is a bad idea, so I turned off the preview completely. Your ideas/suggestions?
When sending a message, it displays correctly on my ProtonMail app, but it's all encrypted on the recipient client. I'm 100% sure I'm using the right session and private key.
This is my code:
And this is how it displays on recipient client (Gmail, in this case):