Videos
Check out our tutorial video series.
Send and receive test emails in Python using MailSlurp, with step-by-step instructions for creating accounts, sending and receiving emails.
Send and receive emails in Python from MailSlurp test email accounts.
To use test email accounts in PyTests first sign up for a free MailSlurp account.
Then install the MailSlurp python library and PyTest with :
Or add them to your :
Next add the MailSlurp client and configure it with your MailSlurp API Key.
We can use MailSlurp to create test inboxes. These have real email addresses.
You can send emails in Python using MailSlurp too:
To receive emails in PyTest use MailSlurp's waitFor controllers to receive emails directly in code. This test demonstrates how to send an email then receive its content. In this way we can read emails in Python tests.
MailSlurp is free for personal use. So check out www.mailslurp.com for more.
Check out our tutorial video series.
Email and SMS guides for automation and testing.
View github project code for multiple languages.
Latest posts from the MailSlurp team.
Test, build, and automate messaging with a free MailSlurp account.