Development, Nova Framework, Tools

Catch emails when in development using Mailtrap fake smtp testing server

During the development phase it’s important to test sending emails without sending to end users or clients that’s where Mailtrap comes in. Mailtrap allows you to send emails without fear of spamming your customers. The emails will be sent Mailtrap where you can see emails sent from your site and inspect them. 

The advantages of routing all emails to Mailtrap is you can deep test your emails, Mailtrap also gives you a spam score and analysis.

Integrating is extremely easy by sending emails via SMTP, for instance with Nova Framework integration can be done like this:

return array(
  "driver" => "smtp",
  "host" => "",
  "port" => 2525,
  "from" => array(
      "address" => "[email protected]",
      "name" => "Example"
  "username" => "username here",
  "password" => "password here",
  "sendmail" => "/usr/sbin/sendmail -bs",
  "pretend" => false

Get started by going to

David Carr

David Carr

For the past 12 years, I’ve been developing applications for the web using mostly PHP. I do this for a living and love what I do as every day there is something new and exciting to learn.

In my spare time, the web development community is a big part of my life. Whether managing online programming groups and blogs or attending a conference, I find keeping involved helps me stay up to date. This is also my chance to give back to the community that helped me get started, a place I am proud to be apart of.

Besides programming I love spending time with friends and family and can often be found together going out catching the latest movie, staying in playing games on the sofa or planning a trip to someplace I’ve never been before.