LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Email node from address - default to windows login

    Employee
    Posted 07-15-2014 03:13

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Varsha.Pindola

    Morning

    Using the email node, is it possible to pass the windows login data in the FromAddress, so that the email is sent from the person who is running the graph.

    Kind regards

    Varsha


  • 2.  RE: Email node from address - default to windows login

    Employee
    Posted 12-21-2015 01:58

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mgajdosik

    You can get the logged in username using python node and one of the following commands: os.getenv('username') or os.getlogin() or getpass.getuser(). Still you need to have smtp server setup to be able to send emails from Lavastorm. Also this applies only if you are running the server locally. If you are running from unix server, by using the above statements you will get unix user that runs the lavastorm engine.

    Marek