unownone/Tweety.py

Emails not Working

Opened this issue · 15 comments

The emailing system after the update has stopped working.

Try to see what is the reason and fix it if possible.
We send email for verifications and job notifications.
All the twitter like/comment jobs are done by sending emails to the registered user.

Suggestions:

Emailing seems to be not working because of it not being integrated properly into the function.

I'd like to work on this

@RohitShelkeBot Great to here from you! I would love it! Let me know if anything is required.

PS: Make sure to make the PRs on or after 1st october.

@unownone Thanks, assign this task to me as well please

@RohitShelkeBot Done!

@unownone I need env values to start server and debug email

@RohitShelkeBot I think oyu have to generate those yourself. You can set up a local mongodb/cloud atlas or even a docker mongodb to get started. There's enough documentation out there too!

@unownone What about the email host credentials?

@unownone What about the email host credentials?

Different email providers provide different ways to work with SMTP servers. You'll be using a SMTP server , go through some Libraries that deal with emailing , if the project already has a emailing library then go through its documentation .

For credentials , if it's Google , search how to generate Google SMTP creds?
Same for Microsoft (outlook/Hotmail)

The issue is solved

@unownone Why is there a send_email_background? The tweetify function is anyways run in the background completely. This was causing an error

@unownone Why is there a send_email_background? The tweetify function is anyways run in the background completely. This was causing an error

Hey , tweetify function does need to be running in background as it is a exhaustive process and we don't really know it worked until it ends . So that's why we need emailing . You can use blocking emails too . There's send_email_background as an no blocking email , ie i won't really be waiting for it to finish and move on to other work.

@unownone I'm getting an error with the existing logic

@unownone I'm getting an error with the existing logic

Could you provide what error it is ? What type of error and what is the error output? A little bit more information would be really good!

@unownone Any way we can connect elsewhere where we can discuss in a better manner