codeception-email-mailhog
codeception-email-mailhog copied to clipboard
Feed mailhog URL from environment variable?
Hello,
is there a way to set:
url: 'http://mailhog.dev'
from (for example) $MAILHOG variable ?
Thank you
This sounds like a good suggestion! I'll try to do it in the short term
Codeception can read the environment variables.
Put in codeception.yml:
params:
- env
And you can use it in tester yml:
- MailHog:
url: '%MAILHOG_HOST%'
port: '%MAILHOG_PORT%'