Skip to content

I cant send an email it always throws error 500Β #313

@Paulvincent1

Description

@Paulvincent1
    $mail = new Mail;
   $mail->using($refreshToken)->to($fields['email'])
        ->from('[email protected]', 'Paul Vincent Sumalinog')
        ->subject('Verification Code');

        dd($mail->send()); //whenver this code hits it will throw 500 

    $mail->using($refreshToken)->to($fields['email'])
        ->from(env('MAIL_FROM_ADDRESS'), env('MAIL_FROM_NAME'))
        ->subject('Verification Code')
        ->markdown('mail.send-code', [
        'emailVerification' => $emailVerification,
         ]) // πŸ‘ˆ use string
        ->send();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions