This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Mailer.send returns undefined #89
Comments
Hi there, sorry for the slow turn around on this. The relevant code is here: https://github.com/lookback/meteor-emails/blob/master/lib/mailer.js#L266-L275. So unless Is the email sent at all? |
II think I'm having a similar issue. I am trying to call
I get |
@kjrhody Hi! Hm, no I think it's because you're trying to use |
Thanks! Excuse my ignorance, I'm very new to all of this. I'll give that a shot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have a simple method that calls Mailer.send then if the result is true, updates the database.
Then in my unit test, result is undefined. I think it might be undefined outside the testing environment as well.
The documentation says that Mailer.send returns either true or false though. Has the API been updated? Does it behave differently in different environments?
This is occurring on Meteor 1.4
Love the package by the way, thank you for your work on it and for sharing it with the community. Being able to structure my email templates in an easy and orderly way is so handy.
The text was updated successfully, but these errors were encountered: