Author Topic: Gmail rewrites emails when sending through the service  (Read 4670 times)


  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Gmail rewrites emails when sending through the service
« on: January 31, 2018, 12:50:36 PM »
using the Email object I get the mime text.
I then use OAuth2, AuthGoogle, JsonObject, Socket, and Rest to send that mime through the gmailapi for sending email.
(Socket is just being used to see things with Fiddler)

The text/plain is completely rewritten, and the boundaries are changed. The message-id's remain the same.

What I see in Sent of the gmail account is:
Message-Id: <>
Content-Type: multipart/alternative; boundary="------------050101000705090601050400"

Content-Type: text/plain

Content-Type: text/html


What I see in the Inbox of the two recipients is:
Message-ID: <>
Content-Type: multipart/alternative; boundary="f403045c3bb45327c00564159cd4"

Content-Type: text/plain; charset="UTF-8"


Content-Type: text/html; charset="UTF-8"



This is more of an FYI post. I don't feel like there is anything that can be done.