- Make sure you have got email package in projectfolder/.meteor/packages file.
- Create server side code in order to send email (Email.send can be called only on server side). That code you can call from client later on.
- Make a template that show a link that invokes client side JavaScript that sends the email.
- Make the call from the client in order to send an email.
Tuesday, July 30, 2013
Meteor: How to send email from client
Labels:
meteor
Subscribe to:
Post Comments (Atom)
set the MAIL_URL environment variable in server side.
ReplyDelete