However, I suggest you install MailHog or a similar software locally for testing. It has the additional advantage that your IP doesn’t get blocked for sending Spam.
Instead of sending through your own server, you could also try with a mail service.
When I test my email form on my local environment I receive the email instantly but after uploading it to a live environment I don’t receive any emails but get the success message. (I’ve checked my spam and its been two days now). Do I need to set the transport config ?
For reference I’ve followed the structure on the Kirby example
The transport config only needs to be set if you are using SMTP and would then need your SMTP-settings. Maybe you need to configure that for your hosting provider, that might be. The standard way of sending mail would be through PHP mail but that must then be enabled on the server. Check out your hosting providers documentation or contact their support.
It’s definitely a problem with PHP mail that it often doesn’t arrive and hence using an SMTP service with a SPF DNS record and whatever other email settings there are to verify your email and make sure it’s not regarded as spam.