I’m getting a success message but no email received. Tried both locally and on my server.
Do I need to setup a “transport configuration”? https://getkirby.com/docs/guide/emails
try {
$kirby->email([
'template' => 'email',
'from' => 'MYEMAIL',
'replyTo' => $data['email'],
'to' => 'MYEMAIL',
'subject' => esc($data['name']) . ' sent you a message from your contact form.',
'data' => [
'text' => esc($data['text']),
'sender' => esc($data['name'])
]
]);
}