smtp-handling #3

Open
PeterSurda wants to merge 3 commits from cis-kuldeep/influx-smtp-gateway:smtp-handling into master
Owner
No description provided.
PeterSurda added 2 commits 2022-02-25 06:49:01 +00:00
PeterSurda reviewed 2022-02-25 06:53:26 +00:00
PeterSurda left a comment
Author
Owner

replace prints with debug log

replace prints with debug log
@ -23,3 +30,4 @@
SMTP webhook server
"""
def create_new_client(self, response):
Author
Owner

needs to return a value (e.g. boolean)

needs to return a value (e.g. boolean)
@ -26,0 +42,4 @@
"message": "some error: {}".format(e)}
print("response1: ", response)
def smtp_login(self, response, msg):
Author
Owner

needs to return a value

needs to return a value
@ -79,0 +94,4 @@
if (c == 1):
soft_return("can't connect")
self.create_new_client(response)
Author
Owner

need to check for return value and skip login if connect fails

need to check for return value and skip `login` if `connect` fails
cis-kuldeep added 1 commit 2022-02-25 13:55:42 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b cis-kuldeep-smtp-handling master
git pull smtp-handling

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff cis-kuldeep-smtp-handling
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/influx-smtp-gateway#3
No description provided.