Last active
November 19, 2022 21:10
-
-
Save rmcdaniel/17764074f02d855de3f2bb665246faf5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Workflows\VerifyEmail; | |
use App\Mail\VerifyEmail; | |
use Illuminate\Support\Facades\Mail; | |
use Workflow\Activity; | |
class SendEmailVerificationEmailActivity extends Activity | |
{ | |
public function execute($email) | |
{ | |
Mail::to($email)->send(new VerifyEmail($this->workflowId())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment