{"id":359,"date":"2023-05-26T11:18:48","date_gmt":"2023-05-26T11:18:48","guid":{"rendered":"https:\/\/www.devopsfreelancer.com\/blog\/?p=359"},"modified":"2023-05-26T11:18:50","modified_gmt":"2023-05-26T11:18:50","slug":"multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel","status":"publish","type":"post","link":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/","title":{"rendered":"Multi Email send in Laravel | How to send multiple emails at once in laravel?"},"content":{"rendered":"\n<p>In this tutorial im going to share how to send multi email in laravel. \u00a0Follow this tutorial its define in very easy way.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer create-project laravel\/laravel multi-mail<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-1024x576.png\" alt=\"\" class=\"wp-image-361\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-1024x576.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-300x169.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-768x432.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51.png 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After install go inside the project directory and open terminal and create one controller as define below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan make:controller MultiemailController\r<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"107\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-52-1024x107.png\" alt=\"\" class=\"wp-image-362\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-52-1024x107.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-52-300x31.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-52-768x80.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-52.png 1224w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Copy below code and paste in your MultiemailController.php<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\nnamespace App\\Http\\Controllers;\r\nuse App\\Mail\\Multimail;\r\nuse Illuminate\\Support\\Facades\\Mail;\r\nuse Illuminate\\Http\\Request;\r\nclass MultiemailController extends Controller\r\n{\r\n    public function index()\r\n    {\r\n        return view('multiemail');\r\n    }\r\n    public function send(Request $request)\r\n    {\r\n     $this->validate($request, &#91;\r\n      'email'  =>  'required',\r\n      'message' =>  'required',\r\n     ]);\r\n     $admin_email = $request->email;\r\n     $multimail = (explode(\",\",$admin_email));\r\n     for($count = 0; $count &lt; count($multimail); $count++)\r\n     {\r\n      $data&#91;] = array(\r\n            'message' =>   $request->message,\r\n            'email'   =>  $multimail&#91;$count] );  }\r\n    foreach($data as $d){\r\n    $demail = $d&#91;'email'];\r\n    Mail::to($demail)->send(new Multimail($d));\r\n    }\r\n    return redirect('multiemail')->with('success', 'Mail has been sent successfully!');\r\n}\r\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Next to run below command<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan make:mail Multimail<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"102\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-53-1024x102.png\" alt=\"\" class=\"wp-image-363\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-53-1024x102.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-53-300x30.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-53-768x76.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-53.png 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Next to create view file inside this directory Resources\/views\/multiemail.blade.php<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-54-1024x414.png\" alt=\"\" class=\"wp-image-364\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-54-1024x414.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-54-300x121.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-54-768x310.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-54.png 1346w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\r\n&lt;html lang=\"en\">\r\n&lt;head>\r\n    &lt;meta charset=\"UTF-8\">\r\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n    &lt;meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\r\n    &lt;title>Multi Mail using laravel 5.8 | Amit&lt;\/title>\r\n    &lt;link rel=\"stylesheet\" href=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/4.5.0\/css\/bootstrap.min.css\">\r\n    &lt;script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.5.1\/jquery.min.js\">&lt;\/script>\r\n    &lt;script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/popper.js\/1.16.0\/umd\/popper.min.js\">&lt;\/script>\r\n    &lt;script src=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/4.5.0\/js\/bootstrap.min.js\">&lt;\/script>\r\n&lt;\/head>\r\n&lt;body>\r\n&lt;div class=\"container\">\r\n    &lt;div class=\"row\">\r\n        &lt;div class=\"col-2\">&lt;\/div>\r\n        &lt;div class=\"col-8\">\r\n            @if(session()->get('success'))\r\n            &lt;div class=\"alert alert-success mt-2\">\r\n                &lt;button type=\"button\" class=\"close\" data-dismiss=\"alert\">\u00d7&lt;\/button>\r\n                {{ session()->get('success') }}\r\n            &lt;\/div>\r\n        @endif\r\n            &lt;div class=\"card\">\r\n                &lt;div class=\"card-header\">\r\n                Multi Email Send in Laravel\r\n                &lt;\/div>\r\n                &lt;div class=\"card-body\">\r\n                    &lt;form method=\"post\" action=\"{{ route('mailsend')}}\" enctype=\"multipart\/form-data\">\r\n                        @csrf\r\n                        &lt;label for=\"\">Email id&lt;\/label>\r\n                        &lt;input type=\"email\" class=\"form-control\" placeholder=\"Enter email id\" name=\"email\" value=\"{{ old('email')}}\">\r\n                        &lt;label>Enter Your Message&lt;\/label>\r\n                        &lt;textarea type=\"text\" name=\"message\" class=\"w-100 p-2\" placeholder=\"Enter your Message\" value=\"{{old('message')}}\">&lt;\/textarea>\r\n                        &lt;button type=\"submit\" name=\"send\" class=\"btn btn-primary fa fa-send-o\"> Submit &lt;\/button>\r\n                    &lt;\/form>\r\n                &lt;\/div>\r\n              &lt;\/div>\r\n        &lt;\/div>\r\n        &lt;div class=\"col-2\">&lt;\/div>\r\n    &lt;\/div>\r\n&lt;\/div>\r\n&lt;\/body>\r\n&lt;\/html>\r<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Next got to your route\/web.php and paste below code<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Route::get('\/multiemail', 'MultiemailController@index')->name('multiemail');\r\nRoute::post('\/multiemail\/send', 'MultiemailController@send')->name('mailsend');<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"464\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-55-1024x464.png\" alt=\"\" class=\"wp-image-365\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-55-1024x464.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-55-300x136.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-55-768x348.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-55.png 1356w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Next go to\u00a0 App\\Mail\\Multimail.php<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\r\nnamespace App\\Mail;\r\nuse Illuminate\\Bus\\Queueable;\r\nuse Illuminate\\Mail\\Mailable;\r\nuse Illuminate\\Queue\\SerializesModels;\r\nuse Illuminate\\Contracts\\Queue\\ShouldQueue;\r\nclass Multimail extends Mailable\r\n{\r\n    use Queueable, SerializesModels;\r\n    public $d;\r\n    \/**\r\n     * Create a new message instance.\r\n     *\r\n     * @return void\r\n     *\/\r\n    public function __construct($d) {\r\n        $this->d = $d; }\r\n    public function build()\r\n    {\r\n        return $this->from('info@testing.com')\r\n        ->subject('New Message from anyone')\r\n        ->view('multi_email_template')\r\n        ->with('d', $this->d);\r\n    }\r\n}<\/code><\/pre>\n\n\n\n<p>Next to create one blade page <\/p>\n\n\n\n<p><strong>multi_email_template.blade.php<\/strong><\/p>\n\n\n\n<p><strong>And add below code as mentioned<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;p>Your Message {{ $d&#91;'message'] }}.&lt;\/p>\n&lt;p>Your email Id {{ $d&#91;'email'] }}.&lt;\/p><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-56-1024x344.png\" alt=\"\" class=\"wp-image-366\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-56-1024x344.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-56-300x101.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-56-768x258.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-56.png 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Next add to mail trap credentials.<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"418\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-57-1024x418.png\" alt=\"\" class=\"wp-image-367\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-57-1024x418.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-57-300x122.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-57-768x313.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-57.png 1328w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Next go to .env and add mailtrap credentials.<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"412\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-58-1024x412.png\" alt=\"\" class=\"wp-image-368\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-58-1024x412.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-58-300x121.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-58-768x309.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-58.png 1346w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Next go to your terminal and paste below code.<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan serve \n\nhttp:&#47;&#47;127.0.0.1:8000\/multiemail\r\n\r<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"346\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-59-1024x346.png\" alt=\"\" class=\"wp-image-369\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-59-1024x346.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-59-300x101.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-59-768x260.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-59.png 1343w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Now email sent successfully lets got to check mailtrap once email came or not.<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"369\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-60-1024x369.png\" alt=\"\" class=\"wp-image-370\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-60-1024x369.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-60-300x108.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-60-768x277.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-60.png 1363w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"419\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-61-1024x419.png\" alt=\"\" class=\"wp-image-371\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-61-1024x419.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-61-300x123.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-61-768x314.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-61.png 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Thanks for reading \ud83d\udc4d\ud83d\udc4d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial im going to share how to send multi email in laravel. \u00a0Follow this tutorial its define in very easy way. After install go inside&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[114,116,115],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-email-send","tag-email-send-in-laravel","tag-multi-email"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Multi Email send in Laravel | How to send multiple emails at once in laravel? - DevOps Freelancer<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Multi Email send in Laravel | How to send multiple emails at once in laravel? - DevOps Freelancer\" \/>\n<meta property=\"og:description\" content=\"In this tutorial im going to share how to send multi email in laravel. \u00a0Follow this tutorial its define in very easy way. After install go inside...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps Freelancer\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/amitsthakurs\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-26T11:18:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-26T11:18:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-1024x576.png\" \/>\n<meta name=\"author\" content=\"Amit Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/amits_thakurs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amit Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/\",\"url\":\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/\",\"name\":\"Multi Email send in Laravel | How to send multiple emails at once in laravel? - DevOps Freelancer\",\"isPartOf\":{\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-1024x576.png\",\"datePublished\":\"2023-05-26T11:18:48+00:00\",\"dateModified\":\"2023-05-26T11:18:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/22ed4bd82dc04200a2ca541b3e35fc5b\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#primaryimage\",\"url\":\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51.png\",\"contentUrl\":\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51.png\",\"width\":1366,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.devopsfreelancer.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Multi Email send in Laravel | How to send multiple emails at once in laravel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/#website\",\"url\":\"https:\/\/www.devopsfreelancer.com\/blog\/\",\"name\":\"DevOps Freelancer\",\"description\":\"We provide DevOps | SRE | DevSecOps | MLOps Freelancing\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.devopsfreelancer.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/22ed4bd82dc04200a2ca541b3e35fc5b\",\"name\":\"Amit Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g\",\"caption\":\"Amit Kumar\"},\"description\":\"Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer\/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.\",\"sameAs\":[\"https:\/\/www.facebook.com\/amitsthakurs\/\",\"https:\/\/www.instagram.com\/amits_thakurs\/\",\"https:\/\/www.linkedin.com\/in\/amits-thakurs\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/amits_thakurs\"],\"url\":\"https:\/\/www.devopsfreelancer.com\/blog\/author\/amit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Multi Email send in Laravel | How to send multiple emails at once in laravel? - DevOps Freelancer","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/","og_locale":"en_US","og_type":"article","og_title":"Multi Email send in Laravel | How to send multiple emails at once in laravel? - DevOps Freelancer","og_description":"In this tutorial im going to share how to send multi email in laravel. \u00a0Follow this tutorial its define in very easy way. After install go inside...","og_url":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/","og_site_name":"DevOps Freelancer","article_author":"https:\/\/www.facebook.com\/amitsthakurs\/","article_published_time":"2023-05-26T11:18:48+00:00","article_modified_time":"2023-05-26T11:18:50+00:00","og_image":[{"url":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-1024x576.png","type":"","width":"","height":""}],"author":"Amit Kumar","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/amits_thakurs","twitter_misc":{"Written by":"Amit Kumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/","url":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/","name":"Multi Email send in Laravel | How to send multiple emails at once in laravel? - DevOps Freelancer","isPartOf":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#primaryimage"},"image":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51-1024x576.png","datePublished":"2023-05-26T11:18:48+00:00","dateModified":"2023-05-26T11:18:50+00:00","author":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/22ed4bd82dc04200a2ca541b3e35fc5b"},"breadcrumb":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#primaryimage","url":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51.png","contentUrl":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/05\/image-51.png","width":1366,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/www.devopsfreelancer.com\/blog\/multi-email-send-in-laravel-how-to-send-multiple-emails-at-once-in-laravel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.devopsfreelancer.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Multi Email send in Laravel | How to send multiple emails at once in laravel?"}]},{"@type":"WebSite","@id":"https:\/\/www.devopsfreelancer.com\/blog\/#website","url":"https:\/\/www.devopsfreelancer.com\/blog\/","name":"DevOps Freelancer","description":"We provide DevOps | SRE | DevSecOps | MLOps Freelancing","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopsfreelancer.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/22ed4bd82dc04200a2ca541b3e35fc5b","name":"Amit Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g","caption":"Amit Kumar"},"description":"Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer\/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.","sameAs":["https:\/\/www.facebook.com\/amitsthakurs\/","https:\/\/www.instagram.com\/amits_thakurs\/","https:\/\/www.linkedin.com\/in\/amits-thakurs\/","https:\/\/x.com\/https:\/\/twitter.com\/amits_thakurs"],"url":"https:\/\/www.devopsfreelancer.com\/blog\/author\/amit\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":372,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/359\/revisions\/372"}],"wp:attachment":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}