After adding the Meteor email package and restarting the server (for a good grade), I do this:
Template.messaging.events({ 'click #send-message' : function () { Email.send({ from: ' test@gmail.com ', to: ' test2@gmail.com ', html: 'heyo buddy.' }); } });
When I fire the event, the console spits out:
Uncaught ReferenceError: Email is not defined
The docs say that even unconfigured, Email.send () should output to standard output. I get the same deployment problem in meteor.com that should be automatically configured using Mailgun.
Any ideas?
airlok
source share