-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51b5656
commit fd5579e
Showing
5 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,11 +48,8 @@ lando exec phpserver -- env | grep MAIL_HOST= | tee >(cat 1>&2) | grep -q MAIL_H | |
lando exec phpserver -- env | grep MAIL_PORT= | tee >(cat 1>&2) | grep -q MAIL_PORT=2025 | ||
lando exec phpserver -- cat /usr/local/etc/php/conf.d/zzzz-lando-mailpit.ini | grep -q sendmailpit || echo 'invalid php.ini' 1>&2 | ||
|
||
# Should have the mailpit binary in the helpers directory | ||
lando exec phpserver -- ls -l /helpers/mailpit | ||
|
||
# Should be able to send messages to the SMTP server | ||
lando exec phpserver -- mailpit-test.php | ||
lando exec phpserver -- ./mailpit-test.php | ||
|
||
# Should be able to retrieve messages from the SMTP server | ||
lando exec phpserver -- wget sendmailpit/api/v1/messages -qO - | grep -q [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mailpit-test.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,11 +44,8 @@ lando exec appserver -- env | grep MAIL_HOST= | tee >(cat 1>&2) | grep -q MAIL_H | |
lando exec appserver -- env | grep MAIL_PORT= | tee >(cat 1>&2) | grep -q MAIL_PORT=1025 | ||
lando exec appserver -- cat /usr/local/etc/php/conf.d/zzzz-lando-mailpit.ini | grep -q sendmailpit || echo 'invalid php.ini' 1>&2 | ||
|
||
# Should have the mailpit binary in the helpers directory | ||
lando exec appserver -- ls -l /helpers/mailpit | ||
|
||
# Should be able to send messages to the SMTP server | ||
lando exec appserver -- mailpit-test.php | ||
lando exec appserver -- ./mailpit-test.php | ||
|
||
# Should be able to retrieve messages from the SMTP server | ||
lando exec appserver -- wget sendmailpit/api/v1/messages -qO - | grep -q [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mailpit-test.php |
File renamed without changes.