0

Gmail API send email error:Recipient address required

enter image description here

M123
  • 1,203
  • 4
  • 14
  • 31
  • You need to encode the message into the raw field [code is here](https://stackoverflow.com/questions/69441660/gmail-rest-api-json-to-send-message/70909067#70909067) – Gal Morad Jan 29 '22 at 21:36

1 Answers1

0

I searched over many articles and realized that ALL CONTENTS RELATED TO THE EMAIL SHOULD BE ENCODED IN RAW, including recipient email and body.

Please refer to the answer by Eric D

Trying to use the payload parameters was in vain.

David Lee
  • 1
  • 2
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 22 '22 at 03:52