iDoRecall / email-normalize

Normalize email addresses to their canonical form: a.b+tag@gmail.com -> ab@gmail.com. Works for Google, Microsoft, FastMail, Yahoo!
https://atmospherejs.com/idorecall/email-normalize
43 stars 3 forks source link

Email is not defined(…) ReferenceError: Email is not defined #5

Open neutron92 opened 8 years ago

neutron92 commented 8 years ago
Meteor.methods({
autoFormCreateUser: function (formDoc) {     

       this.unblock();

        Email.send({
        to: 'hichemchouaibi2@gmail.com',
        from: "from",
        subject: "subject",
        text: "text"
        });
//... other code
 }

this code is Written in user collection file

i have this error

Exception while simulating the effect of invoking 'autoFormCreateUser' ReferenceError: Email is not defined(…) ReferenceError: Email is not defined