• Hi
    There is a Woocommerce Dropshipping plugin that sends notification emails to suppliers including packing slips as attached PDF. Problem is that instead of processing this email as multipart Gmail opens it as plain text.

    Sending it through Gsuite with OAuth 2.0
    (sorry, can’t provide full email since it contains data on client and it’s customer.)

    This is a multi-part message in MIME format.

    –==Multipart_Boundary_mixed_x5746b4f9333f8e15cc4cfe9df96ef9c9x
    Content-Type: multipart/alternative;
    boundary=”==Multipart_Boundary_alt_x5746b4f9333f8e15cc4cfe9df96ef9c9x”

    –==Multipart_Boundary_alt_x5746b4f9333f8e15cc4cfe9df96ef9c9x
    Content-Type: text/plain; charset=”iso-8859-1″
    Content-Transfer-Encoding: 7bit

    Email text

    –==Multipart_Boundary_alt_x5746b4f9333f8e15cc4cfe9df96ef9c9x
    Content-Type: text/html; charset=”iso-8859-1″
    Content-Transfer-Encoding: 7bit

    HTML body

    –==Multipart_Boundary_alt_x5746b4f9333f8e15cc4cfe9df96ef9c9x–
    –==Multipart_Boundary_mixed_x5746b4f9333f8e15cc4cfe9df96ef9c9x
    Content-Type: application/pdf; name=11947_message.pdf
    Content-Transfer-Encoding: base64

    content of PDF source

    • This topic was modified 7 years, 4 months ago by my3bikaht.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Multipart/Gmail’ is closed to new replies.