Gmail API - does not send text / plain emails as quoted-printableGmail API - plaintext word wrappingSending email in .NET through GmailSend email using the GMail SMTP server from a PHP pagePHP email sent to gmail client show wierdCodeIgniter send SMTP GmailWhy isn't Gmail using quoted-printable encoding?gmail does not render html in emailWhy the gmail API sends html emails as plain text?Gmail Api nodeJS Content-Transfer-Encoding quoted-printable not workingGmail API Python Plain Text is Not Wrapping in Body of EmailSending an email with inline image and plain/text content via Gmail API

How do you correct inclination at launch to ISS?

What is the relationship between external and internal composition in a cartesian closed category?

Findminimum of Integral

Is "wissen" the only verb in German to have an irregular present tense?

Was it ever illegal to name a pig "Napoleon" in France?

Category-theoretic treatment of diffs, patches and merging?

Is there a formal/better word than "skyrocket" for the given context?

Why did Old English lose both thorn and eth?

Write a function

What does the multimeter dial do internally?

Why won't the U.S. sign a peace treaty with North Korea?

Delete elements less than the last largest element

Why am I getting unevenly-spread results when using $RANDOM?

Can one block with a protection from color creature?

Curly braces adjustment in tikz?

What factors could lead to bishops establishing monastic armies?

Who goes first? Person disembarking bus or the bicycle?

Why do airports remove/realign runways?

Is homosexuality or bisexuality allowed for women?

How do I separate enchants from items?

Is it ok for parents to kiss and romance with each other while their 2- to 8-year-old child watches?

How do ballistic trajectories work in a ring world?

Gory anime with pink haired girl escaping an asylum

Appropriate conduit for several data cables underground over 300' run



Gmail API - does not send text / plain emails as quoted-printable


Gmail API - plaintext word wrappingSending email in .NET through GmailSend email using the GMail SMTP server from a PHP pagePHP email sent to gmail client show wierdCodeIgniter send SMTP GmailWhy isn't Gmail using quoted-printable encoding?gmail does not render html in emailWhy the gmail API sends html emails as plain text?Gmail Api nodeJS Content-Transfer-Encoding quoted-printable not workingGmail API Python Plain Text is Not Wrapping in Body of EmailSending an email with inline image and plain/text content via Gmail API






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I've been trying to send a text / plain email using the Gmail API for days and it always adds line breaks. I have tried the answer in this post Gmail API - plaintext word wrapping and it still does not work.



I send this text:



From: Example Account <example1@example.com>
To: <example2@example.com>
Content-Type: text / plain; charset = UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: This is a test!

Here is a long test message that will probably cause some words to wrap in =
strange places.


However, it always comes to my tray as Content-Transfer-Encoding: 7bit and with annoying line breaks.



If I send it without the Gmail API as SMTP it comes as
Content-Transfer-Encoding: quoted-printable correctly without line breaks.



Please, has anyone found a solution?










share|improve this question
























  • GMail is sending the text using UTF-8 character encoding, as indicated in the content type. It is perfectly possible to send non-hard-wrapped plain text emails by using the Quoted-Printable encoding as defined by RFC 2045. In fact, Gmail already kind of supports this: it’s capable of decoding and displaying Quoted-Printable-encoded emails flawlessly, and it encodes HTML emails with it before sending them — it just doesn’t do the same thing for plain text emails (yet). Content-Transfer-Encoding: quoted-printable are used for "soft" line breaks. This is an intended behavior.

    – jess
    Mar 26 at 14:34











  • OK, then I understand that there is not a solution to send the mail in the plain text without adding the line breaks through the Gmail API, however it is possible to do it through a traditional SMTP mail.

    – Esther Margarita Noa Rodríguez
    Mar 26 at 15:08

















0















I've been trying to send a text / plain email using the Gmail API for days and it always adds line breaks. I have tried the answer in this post Gmail API - plaintext word wrapping and it still does not work.



I send this text:



From: Example Account <example1@example.com>
To: <example2@example.com>
Content-Type: text / plain; charset = UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: This is a test!

Here is a long test message that will probably cause some words to wrap in =
strange places.


However, it always comes to my tray as Content-Transfer-Encoding: 7bit and with annoying line breaks.



If I send it without the Gmail API as SMTP it comes as
Content-Transfer-Encoding: quoted-printable correctly without line breaks.



Please, has anyone found a solution?










share|improve this question
























  • GMail is sending the text using UTF-8 character encoding, as indicated in the content type. It is perfectly possible to send non-hard-wrapped plain text emails by using the Quoted-Printable encoding as defined by RFC 2045. In fact, Gmail already kind of supports this: it’s capable of decoding and displaying Quoted-Printable-encoded emails flawlessly, and it encodes HTML emails with it before sending them — it just doesn’t do the same thing for plain text emails (yet). Content-Transfer-Encoding: quoted-printable are used for "soft" line breaks. This is an intended behavior.

    – jess
    Mar 26 at 14:34











  • OK, then I understand that there is not a solution to send the mail in the plain text without adding the line breaks through the Gmail API, however it is possible to do it through a traditional SMTP mail.

    – Esther Margarita Noa Rodríguez
    Mar 26 at 15:08













0












0








0








I've been trying to send a text / plain email using the Gmail API for days and it always adds line breaks. I have tried the answer in this post Gmail API - plaintext word wrapping and it still does not work.



I send this text:



From: Example Account <example1@example.com>
To: <example2@example.com>
Content-Type: text / plain; charset = UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: This is a test!

Here is a long test message that will probably cause some words to wrap in =
strange places.


However, it always comes to my tray as Content-Transfer-Encoding: 7bit and with annoying line breaks.



If I send it without the Gmail API as SMTP it comes as
Content-Transfer-Encoding: quoted-printable correctly without line breaks.



Please, has anyone found a solution?










share|improve this question
















I've been trying to send a text / plain email using the Gmail API for days and it always adds line breaks. I have tried the answer in this post Gmail API - plaintext word wrapping and it still does not work.



I send this text:



From: Example Account <example1@example.com>
To: <example2@example.com>
Content-Type: text / plain; charset = UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: This is a test!

Here is a long test message that will probably cause some words to wrap in =
strange places.


However, it always comes to my tray as Content-Transfer-Encoding: 7bit and with annoying line breaks.



If I send it without the Gmail API as SMTP it comes as
Content-Transfer-Encoding: quoted-printable correctly without line breaks.



Please, has anyone found a solution?







email gmail gmail-api






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 12:46







Esther Margarita Noa Rodríguez

















asked Mar 25 at 22:24









Esther Margarita Noa RodríguezEsther Margarita Noa Rodríguez

393 bronze badges




393 bronze badges












  • GMail is sending the text using UTF-8 character encoding, as indicated in the content type. It is perfectly possible to send non-hard-wrapped plain text emails by using the Quoted-Printable encoding as defined by RFC 2045. In fact, Gmail already kind of supports this: it’s capable of decoding and displaying Quoted-Printable-encoded emails flawlessly, and it encodes HTML emails with it before sending them — it just doesn’t do the same thing for plain text emails (yet). Content-Transfer-Encoding: quoted-printable are used for "soft" line breaks. This is an intended behavior.

    – jess
    Mar 26 at 14:34











  • OK, then I understand that there is not a solution to send the mail in the plain text without adding the line breaks through the Gmail API, however it is possible to do it through a traditional SMTP mail.

    – Esther Margarita Noa Rodríguez
    Mar 26 at 15:08

















  • GMail is sending the text using UTF-8 character encoding, as indicated in the content type. It is perfectly possible to send non-hard-wrapped plain text emails by using the Quoted-Printable encoding as defined by RFC 2045. In fact, Gmail already kind of supports this: it’s capable of decoding and displaying Quoted-Printable-encoded emails flawlessly, and it encodes HTML emails with it before sending them — it just doesn’t do the same thing for plain text emails (yet). Content-Transfer-Encoding: quoted-printable are used for "soft" line breaks. This is an intended behavior.

    – jess
    Mar 26 at 14:34











  • OK, then I understand that there is not a solution to send the mail in the plain text without adding the line breaks through the Gmail API, however it is possible to do it through a traditional SMTP mail.

    – Esther Margarita Noa Rodríguez
    Mar 26 at 15:08
















GMail is sending the text using UTF-8 character encoding, as indicated in the content type. It is perfectly possible to send non-hard-wrapped plain text emails by using the Quoted-Printable encoding as defined by RFC 2045. In fact, Gmail already kind of supports this: it’s capable of decoding and displaying Quoted-Printable-encoded emails flawlessly, and it encodes HTML emails with it before sending them — it just doesn’t do the same thing for plain text emails (yet). Content-Transfer-Encoding: quoted-printable are used for "soft" line breaks. This is an intended behavior.

– jess
Mar 26 at 14:34





GMail is sending the text using UTF-8 character encoding, as indicated in the content type. It is perfectly possible to send non-hard-wrapped plain text emails by using the Quoted-Printable encoding as defined by RFC 2045. In fact, Gmail already kind of supports this: it’s capable of decoding and displaying Quoted-Printable-encoded emails flawlessly, and it encodes HTML emails with it before sending them — it just doesn’t do the same thing for plain text emails (yet). Content-Transfer-Encoding: quoted-printable are used for "soft" line breaks. This is an intended behavior.

– jess
Mar 26 at 14:34













OK, then I understand that there is not a solution to send the mail in the plain text without adding the line breaks through the Gmail API, however it is possible to do it through a traditional SMTP mail.

– Esther Margarita Noa Rodríguez
Mar 26 at 15:08





OK, then I understand that there is not a solution to send the mail in the plain text without adding the line breaks through the Gmail API, however it is possible to do it through a traditional SMTP mail.

– Esther Margarita Noa Rodríguez
Mar 26 at 15:08












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55347277%2fgmail-api-does-not-send-text-plain-emails-as-quoted-printable%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55347277%2fgmail-api-does-not-send-text-plain-emails-as-quoted-printable%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript