Codeception module to test email using Mailtrap.io
PHP
Latest commit d8cb865 Nov 11, 2016 @foxted foxted committed on GitHub Merge pull request #17 from WhatDaFox/develop
Fix fetchLastMessage() method
Permalink
Failed to load latest commit information.
src Fixed Mailtrap::fetchLastMessage Nov 7, 2016
.gitignore Remove composer.lock from version control Feb 16, 2015
LICENSE Add LICENSE Feb 15, 2015
README.md
composer.json

README.md

Latest Stable Version Total Downloads Latest Unstable Version License Get help on Codementor

Codeception Mailtrap Module

This package provides a Mailtrap module for Codeception.

Installation

You need to add the repository into your composer.json file

    composer require --dev whatdafox/codeception-mailtrap

Usage

You can use this module as any other Codeception module, by adding 'Mailtrap' to the enabled modules in your Codeception suite configurations.

Add Mailtrap to your list of modules

modules:
    enabled: [Filesystem, FunctionalHelper, Db, Mailtrap]

Setup the configuration variables

modules:
    enabled: [Filesystem, FunctionalHelper, Db, Mailtrap]
    config:
        Mailtrap:
            client_id: ADD_YOUR_TOKEN_HERE
            inbox_id: ADD_YOUR_INBOX_NAME_HERE

Update Codeception build

  codecept build

You're all set up!