This package provides a Mailtrap module for Codeception.
You need to add the repository into your composer.json file
composer require --dev whatdafox/codeception-mailtrapYou can use this module as any other Codeception module, by adding 'Mailtrap' to the enabled modules in your Codeception suite configurations.
modules: enabled: [Filesystem, FunctionalHelper, Db, Mailtrap]- The
client_idtoken can be found on the pagehttps://mailtrap.io/public_api - The
inbox_idcan be found in the url when visiting the website: https://mailtrap.io/inboxes/`12345`/messages.
modules: enabled: [Filesystem, FunctionalHelper, Db, Mailtrap] config: Mailtrap: client_id: ADD_YOUR_TOKEN_HERE inbox_id: ADD_YOUR_INBOX_NAME_HEREUpdate Codeception build
codecept buildYou're all set up!