Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not send HTML body? #8

Open
felixchan opened this issue Apr 14, 2013 · 0 comments
Open

Does not send HTML body? #8

felixchan opened this issue Apr 14, 2013 · 0 comments

Comments

@felixchan
Copy link

Hi,

I've tried sending HTML message, but they always appear in plain text (and the HTML is nowhere to be found in the raw message). I've tried sending it with only "html" in the body object, both html and text, etc.

d.body = 'hello<br><hr><p style="font-size:10px;">abcabc</p>';
ses.send({
                from: d.from,
                to: [d.to],
                replyTo: [d['reply-to']],
                subject:d.subject,
                body: {
                    text: d.body,
                    html: d.body
                }
            }, function(err, data){
            });

Any help would be appreciated, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant