Page MenuHomePhabricator

after changed mailbox to office 365, mail format is strange
Closed, InvalidPublic

Assigned To
None
Authored By
tao_qiping
Mar 5 2015, 7:14 AM
Referenced Files
F396066: pasted_file
May 8 2015, 2:57 AM
F396068: pasted_file
May 8 2015, 2:57 AM
F331411: pasted_file
Mar 6 2015, 7:05 AM
F331373: pasted_file
Mar 6 2015, 5:35 AM
F331370: pasted_file
Mar 6 2015, 5:35 AM
F331352: pasted_file
Mar 6 2015, 4:39 AM
F330292: pasted_file
Mar 5 2015, 7:14 AM

Description

See the screen-shot below, any setting can improve this as company moved to office 365.

pasted_file (561×863 px, 35 KB)

Event Timeline

tao_qiping raised the priority of this task from to Needs Triage.
tao_qiping updated the task description. (Show Details)
tao_qiping added a subscriber: tao_qiping.

You might be able to adjust phpmailer.smtp-encoding to fix this, but I'm not sure if that will work.

Thanks @epriestley , but have not found the configure item. Where can it be set?

pasted_file (167×681 px, 14 KB)

and seems show me wrong when I added in local configure.

pasted_file (26×479 px, 2 KB)

pasted_file (246×821 px, 26 KB)

Thanks @chad. I think I need to update the code.:)

btrahan claimed this task.
btrahan added a subscriber: btrahan.

Let us know if updating the code and the configuration setting didn't resolve this. (Basically, re-open this and let us know the latest details...) Thanks!

I have updated the src to latest, and change email encode to 7 bit, and now most mail works file gotather with our office 365 mailbox.

But still some mail is with wrong format, does it meaning that not all location using customized email encode? Below are some email titles. And I noticed that all mail from default mail address noreply@rs.tkeap.com which is a dummy mailbox and not existing are wrong. actually I configured to metamta.can-send-as-user to true.

How can I improve this? or I need to replace the default mail address to a actual one?

pasted_file (314×676 px, 23 KB)

pasted_file (317×549 px, 22 KB)

I took a quick look at the code and I am pretty sure the phpmailer.smtp-encoding is used consistently as it is used in the mail adapter classes PhabricatorMailImplementationPHPMailerAdapter and PhabricatorMailImplementationPHPMailerLiteAdapter, which are very low level in the stack.

So question is when the mail is sent as metamta.default-address? as I set metamta.can-send-as-user to true. The mail should be sent by user that take action. Because I find that only mail sent from metamta.default-address will be with this issue.

I'm not sure how to reproduce whatever remaining issues are described here so I don't see how to move this forward.