server/dist/helpers/Mailer.js
/**
   * @memberof Mailer
   * @description Creates an instance of Mailer
   */
@memberof Mailer
@description Creates an instance of Mailer
@memberof Mailer @description Creates an instance of Mailer
function Mailer() {
    (0, _classCallCheck3.default)(this, Mailer);
    var _process = process,
        _process$env = _process.env,
        GMAIL_USERNAME = _process$env.GMAIL_USERNAME,
        GMAIL_PASSWORD = _process$env.GMAIL_PASSWORD;
    this.transporter = _nodemailer2.default.createTransport({
      service: 'Gmail',
      auth: {
        user: GMAIL_USERNAME,
        pass: GMAIL_PASSWORD
      }
    });
  }
function Mailer ( ) { ( 0 , _classCallCheck3 . default ) ( this , Mailer ) ; var _process = process , _process$env = _process . env , GMAIL_USERNAME = _process$env . GMAIL_USERNAME , GMAIL_PASSWORD = _process$env . GMAIL_PASSWORD ; this . transporter = _nodemailer2 . default . createTransport ( { service : 'Gmail' , auth : { user : GMAIL_USERNAME , pass : GMAIL_PASSWORD } } ) ; }
@memberof Mailer
 @description Creates an instance of Mailer
@memberof Mailer @description Creates an instance of Mailer