I am using Bert and Meteor Email. In my MEteor MEthods, I return the success of sending email. The problem is, after sending email, It does not return the success message.
here is my sample code,
Meteor.call('sendEmail',
data.eadd,
'e@gmail.com',
'Invitation',
'test');
return "successful.";
Here is my sendEmail function,
sendEmail(to, from, subject, text) {
check([to, from, subject, text], [String]);
this.unblock();
Email.send({
to: to,
from: from,
subject: subject,
text: text
});
}