Add a simple mailable contact form to your Web application. This is modified from Ruslan Bredikhin's contact form and available on Atmosphere
Changes:
- Added custom subject
- Removed Subject form fields
meteor add scalloped:contact-form
Configure on the server:
Meteor.settings.contactForm = {
emailTo: 'someone@somewhere.com',
emailSubject: function (params) {
'Message from ' + params.name + ' via contact form'
}
};
...
Display on the client:
{{>contactForm}}
...
Copyright (c) 2015 Emily Chen