This is a simple Python project that includes functionality to create temporary email addresses and retrieve emails from a web service.
-
Clone the repository:
git clone https://github.com/Poryaei/pyFakeMail.git
-
Import the necessary module:
from fakemail import create_mail, get_emails
-
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}")
-
-
Make sure to handle exceptions and errors appropriately when using these functions.
Contributions are welcome! If you have any suggestions or improvements, please feel free to open an issue or submit a pull request.