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
4. Edit Your configuration file for Gekko CLI
5. Restart Gekko.
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
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
}
My projects [Strategies] [Datasets]