Setup Gmail notification
#1
Below solution is only for Gekko CLI.
1. Create new Gmail account from security reasons.
2. Enable access for less secured apps here: https://myaccount.google.com/lesssecureapps
3. Install module emailjs
Code:
cd gekko
npm install emailjs
4. Edit Your configuration file for Gekko CLI
Code:
config.mailer = {
  enabled: true,       // Send Emails if true, false to turn off
  sendMailOnStart: true,    // Send 'Gekko starting' message if true, not if false

  email: 'newemailaccount@gmail.com',    // Your Gmail address
  muteSoft: false, // disable advice printout if it's soft

  password: 'mypassword',       // Your Gmail Password - if not supplied Gekko will prompt on startup.

  tag: '[GEKKO] ',      // Prefix all email subject lines with this

  server: 'smtp.gmail.com',   // The name of YOUR outbound (SMTP) mail server.
  smtpauth: true,     // Does SMTP server require authentication (true for Gmail)
          // The following 3 values default to the Email (above) if left blank
  user: 'newemailaccount@gmail.com',       // Your Email server user name - usually your full Email address 'me@mydomain.com'
  from: 'newemailaccount@gmail.com',       // 'me@mydomain.com'
  to: 'mymainaccount@gmail.com',       // 'me@somedomain.com, me@someotherdomain.com'
  ssl: true,        // Use SSL (true for Gmail)
  port: '465',       // Set if you don't want to use the default port
}
5. Restart Gekko.
My projects [Strategies] [Datasets]
  Reply


Messages In This Thread
Setup Gmail notification - by xFFFFF - 04-09-2018, 08:52 PM
RE: Setup Gmail notification - by ankasem - 04-16-2018, 02:49 AM
RE: Setup Gmail notification - by crypto49er - 04-26-2018, 04:16 PM

Forum Jump:


Users browsing this thread: