Different mail body by different mail way?

MA555

New Email
Greetings community,

I have followed phenomenon:
I have an opensource application, that has a function to reset the password.
This function send a mail the the user.

Has the mail receiver a microsoft exchange server, the mail looks like correct:
---------------------------------------------------
From: support@domain.com
mailbody ---------------------------------------
Dear Testuser,
your new password is: XYZ
--------------------------------------------------

If send the application the same mail to a normal IMAP account, the information are worng:---------------------------------------------------
From: <this field is empty>
mailbody ---------------------------------------
=?UTF-8?B?b3J0cy4=?=
Content-Type: text/plain; charset=UTF-8; format=flowed
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: support@domain.com

Dear Testuser,
your new password is: XYZ
--------------------------------------------------

In both cases are the same application.
What could be the reason here?
Thank you very much for a hint!
Michael
 

EQ Admin

EQ Forum Admin
Staff member
Which provider is the "normal IMAP account"? UTF-8 should be the right choice.

I think the problem is either with the client reading the email at the IMAP provider, or that somehow the email isn't encoded correctly. Broken lines, busted base64, that sort of thing.
 

EQ Admin

EQ Forum Admin
Staff member
If it's working at all I'm guessing that's not actually the problem.

What version of exchange server is involved?

It's possible that exchange is the problem and not the email itself.

Can you try a few more email services to verify that it's only that particular exchange server or it's IMAP server?

If it's only exchange, I can help you track down the fix if I know the specific version and service pack level of that server.
 
Top