You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is what I would expect - i.e. the from header is correctly encoded and sent over the wire. A few lines down in the logs (where I've received the message):
The first part is the subject which is correctly received. After that you see the from part which has question marks inside. After that, doing a message.getFrom()[0] on the received message returns these question marks. What is also strange is that message.getHeader("From")[0] returns the correct encoded value - not sure how that happens. But in any case, getFrom doesn't work which is not nice.
Am I doing something wrong or is this an issue in Greenmail? I spent a lot of time debugging this. 😄
The text was updated successfully, but these errors were encountered:
@marcelmay thanks for the answer! I've created a PR with a failing test: #479 The funny thing is that this fails only in the MessageCountListener - in greenMail.getReceivedMessages it is correct... no idea why.
Hi, I'm sending an email by doing something like:
(note the Cyrillic in the
from
address). In the debug logs I see:Which is what I would expect - i.e. the
from
header is correctly encoded and sent over the wire. A few lines down in the logs (where I've received the message):The first part is the subject which is correctly received. After that you see the
from
part which has question marks inside. After that, doing amessage.getFrom()[0]
on the received message returns these question marks. What is also strange is thatmessage.getHeader("From")[0]
returns the correct encoded value - not sure how that happens. But in any case,getFrom
doesn't work which is not nice.Am I doing something wrong or is this an issue in
Greenmail
? I spent a lot of time debugging this. 😄The text was updated successfully, but these errors were encountered: