Skip to content

grabBodyFromEmail() method doesn't work #4

@LeonRyan

Description

@LeonRyan

Hey,
I'm trying to use the grabBodyFromEmail() method with the Mailtrap module.

Getting the error:
[Error] Call to undefined method Codeception\Module\Mailtrap::getDecodedEmailProperty()

Had a look through the code and couldn't find that method anywhere. Am I missing something? Does Mailtrap have a different method to get the email body that I'm not seeing?

Example of my test here:

public function it_resets_a_password(ApiTester $I)  
  {  
    $I->wantTo('Reset a password');  
    $I->sendPOST('auth/password/email', ['email' => 'user@this.app']);  
    $I->fetchEmails();  
    $email = $I->grabBodyFromEmail();
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions