/Meteor-French-Contact-Form

French Contact Form for Meteor, using Jade and Coffeescript

Primary LanguageCoffeeScriptMIT LicenseMIT

Basic French Contact Form for METEOR

my French Contact Form

Installation

meteor add justinrvt:contact-form

or

Root of the project:

  1. mkdir packages && cd $_
  2. git clone https://github.com/JustinRvt/Meteor-French-Contact-Form.git

Server side:

set the MAIL_URL environment variable.

For instance:

Meteor.startup ->
  process.env.MAIL_URL = 'smtp://yourlogin:yourpassword@smtp.youremaildeliveryprovider.net:587'
  return

Then, add your email >

Coffeescript:

Meteor.settings.myFrenchContactForm = emailTo: 'coucou@myfrenchmail.com'

or

Javascript:

Meteor.settings.myFrenchContactForm = {
  emailTo: 'coucou@myfrenchmail.com'
};

Client side:

Jade:

+myFrenchContactForm

or

HTML:

{{>myFrenchContactForm}}

Next step

You're done. 💕

Atmospherejs.com:

https://atmospherejs.com/justinrvt/contact-form