Skip to content

Instantly share code, notes, and snippets.

@ricardov03
Last active November 4, 2022 04:35
Show Gist options
  • Select an option

  • Save ricardov03/831433a5fde557794ceb86d3365f039b to your computer and use it in GitHub Desktop.

Select an option

Save ricardov03/831433a5fde557794ceb86d3365f039b to your computer and use it in GitHub Desktop.
Testing Laravel SMTP configuration from Tinker.
  1. Open Laravel Tinker from the project root folder:
php artisan tinker
  1. Run the Test command:
Mail::raw('Hello World!', function($msg) { $msg->to('destination_email@gmail.com')->subject('Testing SMTP'); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment