Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SMTPService and Email helper #110

Merged
merged 17 commits into from
Sep 29, 2023
Merged

Commits on Sep 29, 2023

  1. Add SMTPService and Email helper

    * Email helper class that wraps EmailMessage
    
    * SMTPService class that creates connection to
      SMTP server using config options in services.smtp
    
    * send method on SMTPService that takes Email as
      an arg to send an email using the SMTP connection
    
    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    92d517f View commit details
    Browse the repository at this point in the history
  2. Fix typo in test_smtp

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1b47309 View commit details
    Browse the repository at this point in the history
  3. Test more in test_smtp.py

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    298e198 View commit details
    Browse the repository at this point in the history
  4. test get_smtp_service with empty config

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    e143224 View commit details
    Browse the repository at this point in the history
  5. address feedback

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    dbb41d9 View commit details
    Browse the repository at this point in the history
  6. make lint

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    3876cb9 View commit details
    Browse the repository at this point in the history
  7. remove some print statements

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    3ff8e99 View commit details
    Browse the repository at this point in the history
  8. fixing SMTP connection class scope var

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    7aa38be View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b8da3ef View commit details
    Browse the repository at this point in the history
  10. Fix tests and logs

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    a2f767a View commit details
    Browse the repository at this point in the history
  11. run make lint

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    bb87337 View commit details
    Browse the repository at this point in the history
  12. write some more tests

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    23a0676 View commit details
    Browse the repository at this point in the history
  13. run make lint

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    07b895c View commit details
    Browse the repository at this point in the history
  14. Improving tests

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    d14a018 View commit details
    Browse the repository at this point in the history
  15. one more cleanup

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1803145 View commit details
    Browse the repository at this point in the history
  16. more tests

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    105ed31 View commit details
    Browse the repository at this point in the history
  17. another lint

    Signed-off-by: joseph-sentry <[email protected]>
    joseph-sentry committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1e9f32a View commit details
    Browse the repository at this point in the history