Creating HTTP Email, Markdown, & Notification — Laravel

Cerwyn Cahyono
6 min readMay 3, 2020
Photo by Torsten Dettlaff from Pexels

Hello there! Before we start, this article is a continuation from the previous article here. If you haven’t seen that article, don’t worry that’s very ok and you can refer to this source code of the previous article. For the recap, in the previous article, we created an email verification system when a new user registers to our app using laravel/ui packages and ui vue scaffolding. In this article, we’ll create a custom Email HTTP, Markdown, and Notification so that you can have a fully customizable email content. Ok, let’s start.

Content Overview

  • HTTP vs Markdown vs Notification
  • Configuring the Mails
  • Configuring the Mail HTTP
  • Configuring the Mail Markdown
  • Configuring the Notification

HTTP vs Markdown vs Notification

In Laravel, you can create 3 types of mails, and those are HTTP, markdown, and notification. There is a raw type email too, but I don’t think this raw type email is applicable in real-life projects.

HTTP Email is, like literally the name, an email where the content is in the HTTP syntax, and you can embed your own CSS/bootstrap/image/etc inside it. You can easily modify the content inside your HTTP…

--

--

Cerwyn Cahyono

PHP/Backend Engineer at Undercurrent Capital Pte Ltd — Data Science Enthusiast