Configure domain names in MailTrap to use mail in development and test environments
1. Email testing test emails on staging. Click Start Testing. as shown in Figure 1
2. Click Show Credentials to display the corresponding vouchers. The corresponding credentials can then be copied to the configuration of the development environment. as shown in Figure 2
3. Copy the sample code in the curl, and then paste it in the Linux terminal to test the sending of the email. as shown in Figure 3
4. Then you can see in the outbox that you have received an email. as shown in Figure 4
5. Use mail to send in the development environment. Finally, in the Outbox, you can view the content of the emails that have been sent. as shown in Figure 5




