Mudanças entre as edições de "MailCatcher"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 14: Linha 14:
 
* https://mailcatcher.me/
 
* https://mailcatcher.me/
 
* https://gist.github.com/shark0der/28f55884a876f67c92ce
 
* https://gist.github.com/shark0der/28f55884a876f67c92ce
 +
* https://fostermade.co/blog/email-testing-for-development-using-mailcatcher
 +
* https://serversforhackers.com/c/setting-up-mailcatcher
 +
* https://stackoverflow.com/questions/43525560/how-to-configure-laravel-mail-php-to-use-built-in-mail-function

Edição das 10h49min de 15 de novembro de 2019

apt-get update
apt install build-essential libsqlite3-dev ruby-dev
gem install mailcatcher --no-ri --no-rdoc
echo "@reboot root $(which mailcatcher) --ip=0.0.0.0" >> /etc/crontab
update-rc.d cron defaults
echo "sendmail_path = /usr/bin/env $(which catchmail) -f 'www-data@localhost'" >> /etc/php/7.2/mods-available/mailcatcher.ini
phpenmod mailcatcher
/usr/bin/env $(which mailcatcher) --ip=0.0.0.0


Referências