How to integrate Email Testing with your application
To start using Mailtrap Email Testing, you should integrate it with your app. There are two ways to do it:
#1- Select your integration
Follow these steps:
- Sign up by creating a free account, or sign in if you already have one.
- There is already an empty inbox created for you. It is the My Inbox in the My Inboxes project. It is opened by default when you enter Mailtrap for the first time.
- Choose your technology from the list of integrations, copy the configuration, and paste it to your project.
- Run your email sending code.
#2 - Copy SMTP credentials
You can also use SMTP credentials and we assume you're already signed in.
Important Note: These are the credentials for the "fake" SMTP used only in sandbox. Please don't confuse this with Mailtrap Email Sending SMTP credentials which are for production emails.
Click the Show credentials link to see the following credentials:
Port: 25 or 465 or 587 or 2525
Username: unique to your inbox
Password: unique to your inbox
- Paste them to your project/email client/MTA (any option that supports SMTP integration) and run the email sending code.
Learn how exactly Mailtrap can help you streamline email testing processes from our case study with The Software House.