ALINAWAZ

ALINAWAZ

Member Since 9 Months Ago

Experience Points
2,330
Total
Experience

2,670 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
14
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
2,330 XP
Jan
30
5 months ago
Activity icon

Started a new Conversation How To Implement Quill Emojis In Vue2editor?

how to Import and Register Yourself Vue2Editor now exports Quill to assist in this process.

When importing VueEditor, also import Quill. Import your custom modules Register the custom modules with Quill Add the necessary configuration to the editorOptions object

Jan
09
5 months ago
Activity icon

Started a new Conversation Google Sign Up Image

I signed up through the google .Now I has been signed up successfully.But my google image is not show.How to fixed this problem.

Jan
08
6 months ago
Activity icon

Replied to PHPMailer Used In Laravel 6.0

But when I used in proper working form send mail then get error

Invalid address: (From): [email protected]

Activity icon

Replied to PHPMailer Used In Laravel 6.0

Now First Error Thanks

Activity icon

Replied to PHPMailer Used In Laravel 6.0

Is there any way to change the smtp value of .env file for our class function

Activity icon

Replied to PHPMailer Used In Laravel 6.0

And I also some time this on server smtp are not response (email) when some action with email

Activity icon

Replied to PHPMailer Used In Laravel 6.0

because our requirement I am using the stmp and username , password, and port value used in admin panel. these admin panel value I am used But in the case of when Laravel has built-in SMTP driver I am hardcodeed the the value in .env file in this way i am try to used the PHPMAILER function

Activity icon

Replied to PHPMailer Used In Laravel 6.0

After using above code I am also getting the same error

Activity icon

Replied to PHPMailer Used In Laravel 6.0

namespace App\Custom;

use App\student; use GuzzleHttp\Psr7\Request; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; use Illuminate\Support\Facades\DB;

class SmtpEmail { public function Email(Request $request){ $mail = new \PHPMailer(true); try{ $mail->isSMTP(); $mail->CharSet = 'utf-8'; $mail->SMTPAuth =true; $mail->SMTPSecure = env('MAIL_ENCRYPTION'); $mail->Host = env('MAIL_HOST'); //gmail has host > smtp.gmail.com $mail->Port = env('MAIL_PORT'); //gmail has port > 587 . without double quotes $mail->Username = env('MAIL_USERNAME'); //your username. actually your email $mail->Password = env('MAIL_PASSWORD'); // your password. your mail password $mail->setFrom(env('MY_EMAIL'), env('MY_NAME')); $mail->Subject = $request->subject; $mail->MsgHTML($request->text); $mail->addAddress($request->email , $request->name); $mail->send(); }catch(phpmailerException $e){ dd($e); }catch(Exception $e){ dd($e); } if($mail){ return View("result")->with("result","success")->with("title","Success"); }else{ return View("result")->with("result","failed")->with("title","Failed"); } } }

Activity icon

Replied to PHPMailer Used In Laravel 6.0

After include the following line in our code now:

use App\student; use GuzzleHttp\Psr7\Request;

use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception;

use Illuminate\Support\Facades\DB;

But I am getting the same error in our code

Activity icon

Replied to PHPMailer Used In Laravel 6.0

This above conversation is my code which I used in our class

Activity icon

Replied to PHPMailer Used In Laravel 6.0

namespace App\Custom;

use App\student; use GuzzleHttp\Psr7\Request; use vendor\phpmailer\phpmailer\src\PHPMailer; use vendor\phpmailer\phpmailer\src\Exception; use Illuminate\Support\Facades\DB;

require 'vendor/autoload.php';

class SmtpEmail { public function Email(Request $request){ $mail = new \PHPMailer(true); try{ $mail->isSMTP(); $mail->CharSet = 'utf-8'; $mail->SMTPAuth =true; $mail->SMTPSecure = env('MAIL_ENCRYPTION'); $mail->Host = env('MAIL_HOST'); //gmail has host > smtp.gmail.com $mail->Port = env('MAIL_PORT'); //gmail has port > 587 . without double quotes $mail->Username = env('MAIL_USERNAME'); //your username. actually your email $mail->Password = env('MAIL_PASSWORD'); // your password. your mail password $mail->setFrom(env('MY_EMAIL'), env('MY_NAME')); $mail->Subject = $request->subject; $mail->MsgHTML($request->text); $mail->addAddress($request->email , $request->name); $mail->send(); }catch(phpmailerException $e){ dd($e); }catch(Exception $e){ dd($e); } if($mail){ return View("result")->with("result","success")->with("title","Success"); }else{ return View("result")->with("result","failed")->with("title","Failed"); } } }

Activity icon

Started a new Conversation PHPMailer Used In Laravel 6.0

I am using laravel 6.0 and try to use the PHPMailer in our project

A) Firstly I am install the command in our project. (composer require phpmailer/phpmailer) B) Second include code in composer.json ("phpmailer/phpmailer": "dev-master",) c) Then make php file as name. (App/custom/SmtpEmail.php) D) Then I am getting following three Error I) Undefined type 'PHPMailer'. II) Undefined type 'App\Custom\phpmailerException'. III) Undefined type 'vendor\phpmailer\phpmailer\src\Exception'.

F) This is my code of PHPMailer