课程: Linux for PHP Developers

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Installing MailCatcher for dev email

Installing MailCatcher for dev email

课程: Linux for PHP Developers

Installing MailCatcher for dev email

- [Instructor] We've been making great progress setting up services. Email is the last. Is there something more development friendly rather than installing a full email server and risk sending public email? There is. We're going to install a utility called MailCatcher for that purpose. What's it do? MailCatcher, available for mailcatcher.me is an open-source simple SMTP server that captures every single message sent through it. The emails are displayed in real-time through web interface. MailCatcher supports HTML and plain text emails, attachments and more. It's really quite versatile. It also includes a command catchmail, which can be used to send email from PHP, which is exactly what we need to do. There are a couple steps required for the installation as MailCatcher isn't available through APT. First, we're going to need to install its dependencies which requires ruby, which is ironic given the courses PHP focus and libqlite3. Then we need to create a service so MailCatcher runs…

内容