async sendWelcome(token) {
    const url = `${process.env.APP_URL}/api/v1/auth/email/verify/${token}`;
    const subject = `Welcome to the ${process.env.APP_NAME} family !`;
    const templateParameters = {
      url,
      subject,
      firstName: this.firstName,
      appName: process.env.APP_NAME,
    };

    await this.send(subject, "welcome", templateParameters);
  }
/**
   * Send email on New User Registration
   */
Send email on New User Registration
Send email on New User Registration
async sendWelcome(token) {
    const url = `${process.env.APP_URL}/api/v1/auth/email/verify/${token}`;
    const subject = `Welcome to the ${process.env.APP_NAME} family !`;
    const templateParameters = {
      url,
      subject,
      firstName: this.firstName,
      appName: process.env.APP_NAME,
    };
    await this.send(subject, "welcome", templateParameters);
  }
async sendWelcome ( token ) { const url = ` ${ process . env . APP_URL } ${ token } ` ; const subject = ` ${ process . env . APP_NAME } ` ; const templateParameters = { url , subject , firstName : this . firstName , appName : process . env . APP_NAME , } ; await this . send ( subject , "welcome" , templateParameters ) ; }
Send email on New User Registration
Send email on New User Registration