---
title: "Discussion on \"Allowing users to send emails with their own SMTP settings in Laravel 9\" | Hashnode"
description: "Discussion on \"Allowing users to send emails with their own SMTP settings in Laravel 9\". We will extend the Laravel framework with very minimal modifications. Using custom SMTP settings is really easy to achieve."
url: "https://hashnode.com/posts/allowing-users-to-send-emails-with-their-own-smtp-settings-in-laravel-9/63cdb2177aff3ceb98d33b37"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Allowing users to send emails with their own SMTP settings in Laravel 9](https://blog.genijaho.dev/allowing-users-to-send-emails-with-their-own-smtp-settings-in-laravel-9?utm_source=hashnode&utm_medium=feed)

We will extend the Laravel framework with very minimal modifications. Using custom SMTP settings is really easy to achieve.

Jan 22, 2023 · 3 min read · blog.genijaho.dev  
Updated Aug 19, 2023  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#smtp](https://hashnode.com/tag/smtp)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Geni Jaho](https://hashnode.com/@genijaho)

@genijaho

  
[View profile](https://hashnode.com/@genijaho)

It's not a bug, it's a lifestyle!

Full-stack web dev with a passion for software architecture and programming best coffees.

## Responses 2

Markdown supported · ⌘↵ to post

[Márcio Fornari](https://hashnode.com/@marciofornari)

[Jul 29, 2024](https://hashnode.com/posts/allowing-users-to-send-emails-with-their-own-smtp-settings-in-laravel-9/63cdb2177aff3ceb98d33b37/comment/66a82bf6504b953ef2a6514b)

It's work with laravel 10? For me not work :(

[Raj Shikhar Singh shekhawat](https://hashnode.com/@ripushri)

[May 19, 2023](https://hashnode.com/posts/allowing-users-to-send-emails-with-their-own-smtp-settings-in-laravel-9/63cdb2177aff3ceb98d33b37/comment/646750b07bd6d2e2dc873ad4)

Hi Geni ,

I have tried your implementation and it worked for instant mailing, where as when I try

$mailer->to($email)->later(Carbon::now()->addMinutes(5), $mailable);

It is trying to pick default from env/config not the which we have been passed.

[Geni Jaho](https://hashnode.com/@genijaho)

[Aug 19, 2023](https://hashnode.com/posts/allowing-users-to-send-emails-with-their-own-smtp-settings-in-laravel-9/63cdb2177aff3ceb98d33b37/comment/646750b07bd6d2e2dc873ad4#reply-64e0b8acfe582aa061c40287)

I couldn't replicate this, unfortunately.
