Skip to content
Snippets Groups Projects
  1. Mar 12, 2021
  2. Feb 24, 2021
  3. Feb 19, 2021
  4. Feb 18, 2021
  5. Feb 15, 2021
  6. Feb 11, 2021
  7. Apr 23, 2020
  8. Apr 20, 2020
    • Bo-Chun Chen's avatar
      Use jinja2 template engine for email body · f87d4187
      Bo-Chun Chen authored
      mail.py:
        define variable related to email
        `body` is the template we will use in agent
      
        for variables that are pre-defined in the same file,
            use single curly bracket for it.
        e.g. {info_url}
      
        for `username` or other variables that are undefined until msg is received,
        use four curly brackets for both open and close
        e.g. {{{{ username }}}}
      f87d4187
Loading