Hello,
I am a building a contactform using the uniform Plugin. Works fine, but I am having trouble with the possibility to attach uploaded file(s). Solutions I find work with K2 (Search results for 'uniform attachment' - Kirby Forum) esp. adding the attachment via PHP Mailer Service Options (Uniform + phpmailer with file attachment).
I just don’t know how to get there with uniform + K3. Any tipp how to solve this in the controller?
Now I have this one in the controller like written in the docs:
$form->emailAction([
'to' => 'post@mariokeipert.de',
'from' => 'test@psi-sprachen.com',
// Dynamically generate the subject with a template.
'subject' => 'New registration for a {booth} booth'
])
->uploadAction(['fields' => [
'filefield' => [
'target' => '/uploads/',
'prefix' => false,
],
]
])
I assume, the uploadAction is not necessary?
Thanks for help!