GithubHelp home page GithubHelp logo

Comments (5)

mikeliucc avatar mikeliucc commented on June 7, 2024

Please see documentation about Gmail here: https://nexiality.github.io/documentation/commands/mail/index#gmail

If the provided instruction suffice, please kindly close this ticket. Thanks!

from nexial-core.

mikeliucc avatar mikeliucc commented on June 7, 2024

Also, please have a read at this: https://nexiality.github.io/documentation/systemvars/index.html#nexial.enableEmail

You can set up your mail server connectivity via command line (as in set JAVA_OPT=-D...) or project.properties. It's pretty much a one-time set up. Once you got it, you should be good to go.

from nexial-core.

mikeliucc avatar mikeliucc commented on June 7, 2024

Here's some examples on how to set up gmail for nexial email notification.

Via Command Line

(on *NIX):
export JAVA_OPT="-Dnexial.enableEmail=true -Dmail.smtp.host=smtp.gmail.com -Dmail.smtp.port=587 [email protected] -Dmail.smtp.auth=true -Dmail.smtp.username=<mail_account>@gmail.com -Dmail.smtp.password=<password> -Dmail.smtp.starttls.enable=true -Dnexial.scope.mailTo=<recipients>"

(on Windows):
set JAVA_OPT=-Dnexial.enableEmail=true -Dmail.smtp.host=smtp.gmail.com -Dmail.smtp.port=587 [email protected] -Dmail.smtp.auth=true -Dmail.smtp.username=<mail_account>@gmail.com -Dmail.smtp.password=<password> -Dmail.smtp.starttls.enable=true -Dnexial.scope.mailTo=<recipients>

Via project.properties

nexial.enableEmail=true
nexial.scope.mailTo=<recipients>

mail.smtp.host=smtp.gmail.com
mail.smtp.port=587
[email protected]
mail.smtp.auth=true
mail.smtp.username=<mail_account>@gmail.com
mail.smtp.password=<password>
mail.smtp.starttls.enable=true

Key things to note:

  • Nexial will not send out email notification UNLESS nexial.enableEmail set to true and nexial.scope.mailTo properly configured to the intended recipients.
  • For Gmail, mail.smtp.starttls.enable should be set to true.
  • It is possible to put some settings via command line, some via project.properties, and even some in data file. However, keeping things on track might get a little tricky.

from nexial-core.

mikeliucc avatar mikeliucc commented on June 7, 2024

just realized that v1.1 has a restriction such that only the "command line" technique works... This will be fixed shortly.

from nexial-core.

AutoFahad avatar AutoFahad commented on June 7, 2024

Thanks Mike! Works with new build!
Go Nexial ! ! !

from nexial-core.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.