You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Codeception/Module/Symfony/MailerAssertionsTrait.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ public function seeEmailIsSent(int $expectedCount = 1): void
42
42
* Returns the last sent email.
43
43
* The function is based on `\Symfony\Component\Mailer\EventListener\MessageLoggerListener`, which means:
44
44
* If your app performs a HTTP redirect after sending the email, you need to suppress it using [stopFollowingRedirects()](https://codeception.com/docs/modules/Symfony#stopFollowingRedirects) first.
45
+
* See also: [grabSentEmails()](https://codeception.com/docs/modules/Symfony#grabSentEmails)
45
46
*
46
47
* ```php
47
48
* <?php
@@ -66,6 +67,7 @@ public function grabLastSentEmail(): ?Email
66
67
* Returns an array of all sent emails.
67
68
* The function is based on `\Symfony\Component\Mailer\EventListener\MessageLoggerListener`, which means:
68
69
* If your app performs a HTTP redirect after sending the email, you need to suppress it using [stopFollowingRedirects()](https://codeception.com/docs/modules/Symfony#stopFollowingRedirects) first.
70
+
* See also: [grabLastSentEmail()](https://codeception.com/docs/modules/Symfony#grabLastSentEmail)
0 commit comments