email: Properly detect bounce message with alternative content #1994

Merged
merged 1 commit into from Apr 29, 2015

Projects

None yet

2 participants

@greezybacon
Member

Outstanding

  • Add message-id from the original message to the headers and add loopback+bounce detection in ThreadEntry::postEmail

This correctly handles a bounce message with the following layout:

multipart/report; report-type=delivery-status
    multipart/alternative; differences=Content-Type
        text/plain; charset="us-ascii"
        text/html; charset="us-ascii"
    message/delivery-status
    message/rfc822
@greezybacon greezybacon added the email label Apr 23, 2015
@greezybacon greezybacon email: Properly detect bounce message with alternative content
This correctly handles a bounce message with the following layout:

multipart/report; report-type=delivery-status
    multipart/alternative; differences=Content-Type
        text/plain; charset="us-ascii"
        text/html; charset="us-ascii"
    message/delivery-status
    message/rfc822
67127c6
@protich protich merged commit 04bfef1 into osTicket:develop Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment