李帅

1.集成邮件发送

...@@ -84,6 +84,7 @@ class SendVerificationMessage implements ShouldQueue ...@@ -84,6 +84,7 @@ class SendVerificationMessage implements ShouldQueue
84 84
85 $email = new \SendGrid\Mail\Mail(); 85 $email = new \SendGrid\Mail\Mail();
86 $email->setFrom("hello@parlando.ink", "Parlando"); 86 $email->setFrom("hello@parlando.ink", "Parlando");
87 + $email->setSubject("Verification Code");
87 $email->addTo($this->email, "Parlando User"); 88 $email->addTo($this->email, "Parlando User");
88 $email->addContent( 89 $email->addContent(
89 "text/html", "Please enter in the verification code input box: <strong>$code</strong><br/>(The code will expire in 30 minutes.)" 90 "text/html", "Please enter in the verification code input box: <strong>$code</strong><br/>(The code will expire in 30 minutes.)"
......