Dear jholderjholder wrote:Maybe this will help:thang-mt wrote: when i send with this content, it is no get content form file my html
result to displayCan you have example? ThanksCode: Select all
{"Header":{"context":{"change":{"token":4623},"_jsns":"urn:zimbra"}},"Body":{"Fault":{"Code":{"Value":"soap:Sender"},"Reason":{"Text":"SMTP server reported: No recipient addresses"},"Detail":{"Error":{"Code":"mail.SEND_FAILURE","Trace":"qtp2076287037-48850:1644331332009:181f582faf258d11","_jsns":"urn:zimbra"}}}},"_jsns":"urn:zimbraSoap"}
Code: Select all
"Body": { "SendMsgRequest": { "_jsns": "urn:zimbraMail", "suid": 1645083200491, "m": { "id": "xx", "did": "xxx", "idnt": "xx-xx-xxx", "e": [ { "t": "t", "a": "TO_ADDR@synacor.com" }, { "t": "f", "a": "jholder@zimbra.com", "p": "John Holder" } ], "su": { "_content": "[MY HTML CONTENT]" }, "mp": [ { "ct": "multipart/alternative", "mp": [ { "ct": "text/plain", "content": { "_content": "[MY PLAINTEXT CONTENT]" } }, { "ct": "text/html", "content": { "_content": "BODY" } } ] } ] } } } }
Thank you reply.
But my mail body is need to get from an html or php file. Here I am seeing you write a long content here, right?