node.js - Send Email with attachment using aws-sdk(Amazon SES) using nodejs -
Hello, I'm trying to send an email with an attachment
& gt;" + err, err.stack); // An error occurred console.log ("data & Gt; & gt; & gt; "+ JSON.stringify (data)); // successful response});
But I'm getting error
UnexpectedParameter: found in unexpected key params.RawMessage * UnexpectedParameter 'From:' In the unlikely key 'to' params.RawMessage * UnexpectedParameter found: unexpected key 'date' params.RawMessage * found UnexpectedParameter: unexpected key 'theme' params.RawMessage * found UnexpectedParameter: unexpected key found in the accepted 'language' params.RawMessage * UnexpectedParameter: unexpected key 'content-language' Found in params.RawMessage * In UnexpectedParameter: Unexpected Goods Minister 'Content-Type' params.RawMessage * found UnexpectedParameter: found in unexpected key Sbdsmuchcy 'params.RawMessage * found UnexpectedParameter: unexpected key content-transfer-encoding' params.RawMessage * Unexpected parameters: unexpected key Maim- Found in version 'paragraph. RMMessage
I know that I'm not using the exact nature of the parameters, but I have not found anywhere in the correct format, please help me .... Thanks in advance ...
, only one You may be looking for data in field
is property and nothing else The headers and body (or bodies), formatted all right (escaping, - including encoding) and delimited (appropriate number of new lines) RawMessage
data full raw email message field.
sendEmail
, which will give you the header as the key-value as 'from', 'to', and 'subject' field. Allows to set
pairs.
Comments
Post a Comment