Skip to content

ilhanaydinli/laravel-mail-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Mail Check

Check sending email using Laravel mail settings.

Installation

Via Composer

composer require ilhanaydinli/laravel-mail-check

The package will automatically register itself.

View

If you want to configure the mail to be sent, you can publish the view.

php artisan vendor:publish --provider="IlhanAydinli\LaravelMailCheck\MailCheckProvider" --tag="views"

Commands

  mail-check:all                        Do all the checks.
  mail-check:config                     Checks Laravel mail settings.
  mail-check:mail                       Check sending email using Laravel mail settings.
  mail-check:spf                        Checks whether it can send mail on behalf of the e-mail address.

Example Usage

php artisan mail-check:all

Successful Result

$ php artisan mail-check:all

From which email address do you want to send mail? [[email protected]]:
>

To which email address do you want to send mail?:
> [email protected]

**********************************************
*     Please Wait - Mail Config Checking     *
**********************************************

Mail settings are successful.

**************************************
*     Please Wait - SPF Checking     *
**************************************

You can send an e-mail on behalf of [email protected].

****************************************
*     Please Wait - E-Mail Sending     *
****************************************

E-mail sending was successful.

License

This project is under the MIT license.

Please see the license file for more information.

About

Check sending email using Laravel's mail settings.

Resources

License

Stars

Watchers

Forks

Packages

No packages published