Skip to content

fetch credentials from external file #1

Open

Description

@youhaveme9

Hey, @Swayms-stack
Try to fetch the sender's mail credentials from an external file.

Make a new python file as config.py
store username and password as :

username = "Gmail address"
password = password 

Then in the main file
import the config.py and replace the credentials with these variable names

Code :-

import config
Sender_EmailAddress = config.username
password =  config.password
Do not push the config.py

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions