### Complete Welcome Email Example using Envelop Blade Components Source: https://envelop.email/overview/introduction This Blade template demonstrates the full component hierarchy of Envelop for creating a welcome email. It utilizes utility classes for styling and includes examples of layout, content, and utility components. The structure flows from the main HTML wrapper down to sections, rows, columns, and individual content elements. ```blade Welcome! Get started with these quick tips. {{-- Header --}} Welcome to Envelop Start building beautiful emails today {{-- Content --}} Thanks for joining us! We're excited to have you on board. {{-- Two-Column Layout --}} Documentation Learn how to use all features with our guides. Support Our team is ready to help you succeed. {{-- Call to Action --}} Get Started Now {{-- Footer --}} © 2025 Your Company. All rights reserved. ``` -------------------------------- ### Laravel Mailable Integration (PHP) Source: https://envelop.email/overview/introduction Shows how to integrate Envelop components within a Laravel Mailable class. This example defines a simple `WelcomeEmail` that uses a Blade view for its content, where Envelop components can be utilized. ```php use Illuminate\Mail\Mailable; class WelcomeEmail extends Mailable { public function build() { return $this->view('emails.welcome'); } } ``` -------------------------------- ### Install Envelop via Composer Source: https://envelop.email/overview/installation Installs the Envelop package into your Laravel project using Composer. This is the primary method for adding Envelop to your application. Laravel's package auto-discovery handles the service provider registration. ```bash composer require larsklopstra/envelop ``` -------------------------------- ### Envelop Email View with Components Source: https://envelop.email/overview/installation An example of an email view using Envelop's Blade components for structure and styling. It includes components for container, section, heading, text, and button, allowing for rich email content. This view is referenced in the Mailable class. ```blade Welcome to Our Service! Thanks for signing up. We're excited to have you on board. Get Started ``` -------------------------------- ### Send Email Using Envelop Mailable Source: https://envelop.email/overview/installation Demonstrates how to send an email created with Envelop in Laravel. It uses the `Mail` facade to specify the recipient and send the Mailable instance. Ensure your mail configuration is set up correctly. ```php use App\Mail\WelcomeEmail; use Illuminate\Support\Facades\Mail; Mail::to('user@example.com')->send(new WelcomeEmail()); ``` -------------------------------- ### Envelop Blade Component Structure Source: https://envelop.email/overview/installation Demonstrates the basic structure of an email template using Envelop's Blade components. These components provide a consistent and responsive layout for emails. The components include html, head, and body tags. ```blade ``` -------------------------------- ### Create a Laravel Mailable Class for Envelop Source: https://envelop.email/overview/installation Shows how to create a new Mailable class in Laravel using the Artisan command. This class defines the email's envelope (subject) and content (view). It requires PHP 8.2+ and Laravel 12.0+. ```bash php artisan make:mail WelcomeEmail ``` ```php Click Here ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.