Skip to content

Poryaei/pyFakeMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

pyFakeMail

This is a simple Python project that includes functionality to create temporary email addresses and retrieve emails from a web service.

Installation

  1. Clone the repository:

    git clone https://github.com/Poryaei/pyFakeMail.git

Usage

  1. Import the necessary module:

    from fakemail import create_mail, get_emails
  2. Use the following functions to interact with the web service:

    • create_mail(): Creates a temporary email address and returns it.

      Example usage:

      email = create_mail()
      print(f"Temporary email address: {email}")
    • get_emails(email): Retrieves the emails associated with the specified email address from the web service and returns a specific link.

      Example usage:

      email = "[email protected]"  # Replace with the temporary email address
      link = get_emails(email)
      print(f"Link: {link}")
  3. Make sure to handle exceptions and errors appropriately when using these functions.

Contributing

Contributions are welcome! If you have any suggestions or improvements, please feel free to open an issue or submit a pull request.