-
Notifications
You must be signed in to change notification settings - Fork 109
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
Error with mail.content when trying to send like the example states (documentation out of date?) #20
Comments
I've looked at your problem and I can't reproduce it.
I do have to note a ticket similar to yours has been opened before. My environment is as followed:
|
I:
All give me the same error. Currently tested on macOS 10.12.1 I will try to run a test on the Debian system ASAP |
@fabianmoronzirfas Sorry for the late response its been the holidays around here. So i looked more into it and you currently running the old version of Sendmail 0.2.2. Content is how the old code ran. Upgrade to 1.0.0 and all the documentation will match up perfectly let me know if you have any questions or concerns @Geex-Renzo 👍 I appreciate having you around !! |
Awesome thank you. Now it works. Was it a npm registry problem? I installed it just before I wrote the issue and got the 0.2.2 version. |
Expected Behavior
Should send mail with body defined in key
html
Using thetext
key instead ofhtml
gives the same error.Current Behavior
Throws error:
Possible Solution
I switched to
content
for the mail body and everything worked fine. Is your documentation out of date?Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: