Closed chris13524 closed 6 years ago
Same issue on v2.0.0. Any ideas?
Figured it out. Looks like I needed to add multipart true
to the top of my parameters list. This is because from
, bcc
, to
, subject
, html
, and text
will all construct the message object. You need to enable multipart before you construct the message.
sendMail {
async true
multipart true
from "Chris <my.email@email.com>
bcc "other.email@email.com"
to "recipient@email.com"
subject "subject"
html "<!doctype html><html><body>Hello Customer,...</body></html>"
text "Hello Customer,..."
}
When running this code:
I get this exception:
I tried setting
multipart true
, but that didn't seem to help.I'm on the latest version, v2.0.0.RC6.