Skip to content

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

@neutron92

Description

@neutron92
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions