"Virat" />
 
Views
5 months ago

laravel_tutorial

Laravel Step 4: After

Laravel Step 4: After successful execution, you will receive the following output: Step 5: Copy the following code in app/Http/Controllers/MailController.php file. app/Http/Controllers/MailController.php

Laravel echo "Basic Email Sent. Check your inbox."; } public function html_email(){ $data = array('name'=>"Virat Gandhi"); Mail::send('mail', $data, function($message) { $message->to('abc@gmail.com', 'Tutorials Point')- >subject('Laravel HTML Testing Mail'); } }); $message->from('xyz@gmail.com','Virat Gandhi'); echo "HTML Email Sent. Check your inbox."; public function attachment_email(){ $data = array('name'=>"Virat Gandhi"); Mail::send('mail', $data, function($message) { $message->to('abc@gmail.com', 'Tutorials Point')- >subject('Laravel Testing Mail with Attachment'); $message->attach('C:\laravelmaster\laravel\public\uploads\image.png'); $message->attach('C:\laravelmaster\laravel\public\uploads\test.txt'); } } }); $message->from('xyz@gmail.com','Virat Gandhi'); echo "Email Sent with attachment. Check your inbox."; Step 6: Copy the following code in resources/views/mail.blade.php file. resources/views/mail.blade.php Hi, {{ $name }} lSending Mail from Laravel. 105

090-056 Exam BrainDumps are Out - Download and Prepare
Download C# Tutorial (PDF Version) - Tutorials Point
Laravel Starter - PHP User Group (Myanmar)
IXP Manager Workshop V4 Deep Dive
CLAD Exam BrainDumps are Out - Download and Prepare
PHP 5 Recipes: A Problem-Solution Approach
Boost Test Library
Real LX0-104 Exam BrainDumps
PHPUnit and Drupal 8 - Bay Area Drupal Camp
Rails Conditions - Rails-Konferenz 2009
t T0 - 電気通信大学学術機関リポジトリ C-RECS
The Model View Controller (MVC) - Custom Training Courses ...