QAZIMAAZARSHAD / Income-Tax-Calculator

Income Tax Calculation System For A Salaried Person
https://github.com/QAZIMAAZARSHAD/Income-Tax-Calcultor/blob/main/README.md
MIT License
36 stars 57 forks source link

Added email functionality #84

Closed Khushijindal24 closed 3 years ago

Khushijindal24 commented 3 years ago

63

fixes #

Describe the changes you've made

I have created another button named share with mail, and then created a message box which will conform the detail and the tax calculation and when we will click on ok it will send that tax info of the person on the mail id given using smtplib.

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

NA.

Additional context (OPTIONAL)

Add any other context or screenshots about the feature request here.

Test plan (OPTIONAL)

A good test plan should give instructions that someone else can easily follow. How someone can test your code?

Checklist

QAZIMAAZARSHAD commented 3 years ago

No mail received,

Only a pop-up showing tax details.

Khushijindal24 commented 3 years ago

sir please check spam once

On Sun, Jun 13, 2021 at 1:42 PM Qazi Maaz Arshad @.***> wrote:

No mail received,

Only a pop-up showing tax details.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QAZIMAAZARSHAD/Income-Tax-Calcultor/pull/84#issuecomment-860172120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR3E5QB3X2OS3H5XMRMPG6LTSRR5BANCNFSM46TQI5LA .

QAZIMAAZARSHAD commented 3 years ago

sir please check spam once On Sun, Jun 13, 2021 at 1:42 PM Qazi Maaz Arshad @.***> wrote: No mail received, Only a pop-up showing tax details. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#84 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR3E5QB3X2OS3H5XMRMPG6LTSRR5BANCNFSM46TQI5LA .

Checked already

QAZIMAAZARSHAD commented 3 years ago

Have you received mail?

Khushijindal24 commented 3 years ago

Yes, I got it.

On Sun, 13 Jun 2021 at 2:04 PM, Qazi Maaz Arshad @.***> wrote:

Have you received mail?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QAZIMAAZARSHAD/Income-Tax-Calcultor/pull/84#issuecomment-860174768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR3E5QCG7XW2VAMLKQDNSQLTSRUQDANCNFSM46TQI5LA .

Khushijindal24 commented 3 years ago

On Sun, 13 Jun 2021 at 2:06 PM, Khushi Jindal @.***> wrote:

Yes, I got it.

On Sun, 13 Jun 2021 at 2:04 PM, Qazi Maaz Arshad @.***> wrote:

Have you received mail?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QAZIMAAZARSHAD/Income-Tax-Calcultor/pull/84#issuecomment-860174768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR3E5QCG7XW2VAMLKQDNSQLTSRUQDANCNFSM46TQI5LA .

QAZIMAAZARSHAD commented 3 years ago

RuntimeError: No SSL support included in this Python

shantamsultania commented 3 years ago

hi I have a suggestion for the code

  1. turn SSL = false
  2. we have the values like name , email , contact already stored in a variable we should use them @QAZIMAAZARSHAD I hope my suggestions could help
Khushijindal24 commented 3 years ago

Sir but on my system the code is running properly with the output I can share the screen shot of mail coming . > RuntimeError: No SSL support included in this Python

shantamsultania commented 3 years ago

hey what happens is that SSL is for system verification (P.S I am not a program mentor os please don't call me sir ) this may sometimes give an error sometimes not this is basically done when the email is being used to send a request more than once from different locations beast example google sighing they ask you always if they don't recognize the environment / drive that you use read more about it here or you can more stuff there is available on the internet btw there is a small command/line of code to be added that it SSL = false.

Solution : https://stackoverflow.com/questions/33770129/how-do-i-disable-the-ssl-check-in-python-3-x

Read more : https://aboutssl.org/what-is-email-secure-ssl-certificate/#:~:text=Email%20Secure%20SSL%20Certificates%20also%20known%20as%20Email,or%20robot%20can%20read%20or%20modify%20the%20message.

shantamsultania commented 3 years ago

I hope this helps

shantamsultania commented 3 years ago

I tested your code it didn't gave me the error but if its giving @QAZIMAAZARSHAD then i think that is the issue so i think for future lets close that up only

Khushijindal24 commented 3 years ago

RuntimeError: No SSL support included in this Python

Sir is code running in your system ? And showing proper output ?

QAZIMAAZARSHAD commented 3 years ago

RuntimeError: No SSL support included in this Python

Sir is code running in your system ? And showing proper output ?

Yes, everything's fine. Pop-up is also displaying, but no email.