Start a new topic

Business Logic: email doesn't seem to be working

I'm trying to send an email from a collection hook:'sending confirmation email to: ';

email.send('',, 'Booking Confirmation', 'Confirmation for booking '+request.body._id);'sent confirmation email to: ';

I can see the log statements, but I never receive the email.

Does this feature work?

Does it require extra setup?


Hey Pete- Are you putting this in After Save in your BL code? Try the sample code at and see if that is working.
Hi Caroline,

The code was in the PreSave collection hook, but it appears it will only work in PostSave.

Login or Signup to post a comment