I’ve figured out via the hoster, that the domain of the customer is not configured to send mails…
The domain mails are handled by another provider seperated from the hoster. The hoster sent me the domain I guess. “10mxt…urgate.net”.
How do I configure the form, so that it sends the mails via the domain above?
Instead of in the config, you can also set this inside the $kirby->email() function.
1 Like
return [
'email' => [
'transport' => [
'type' => 'smtp',
'host' => 'smtp.10mxt…urgate.net',
'port' => 465,
'security' => true
]
]
];
something like this I guess? I will try that, thanks 
Thank you all for the amazig help. Basically the SMTP server was the problem in this case. The code above is working fine, for everyone reading this. It’s just the smpt config, which was just off. I could’ve find that out earlier… but I never had this kind of issue before.
Tahnks again for the fast help, love you guys 
Another issue:
The input date looks like this: dd.mm.yyyy. But inside the mail the format is yyyy-mm-dd by default. Where do I change the dateformat?
nvm. solution:
<?php $date = date("d.m.Y"); echo $date; ?>