Skip to content

fetch credentials from external file #1

@youhaveme9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions