ZeptoMail API Request

ZeptoMail API Request

We tried to send mail using ZeptoMail using Django.

Following is my payload

  1. {'from': {'address': 'abc@abc.com'}, 'to': [{'email_address': {'address': 'xyz@xyz.in', 'name': 'Bhavik'}}], 'subject': 'Report Name', 'htmlbody': '<p>Test</p>'}
Following is the error which occured.

{"error":{"code":"TM_3301","details":[{"code":"SM_101","message":"Invalid value format","target":"zoho-inputstream"}],"message":"Bad Syntax"}}