First of all, I’m sorry if the topic has already been discussed (If you would point me the first discussion about the subject, that would be perfect). Secondly, I’m not dev, so I may be asking newbie questions.
I bought this theme called Zeta wich uses Uniform.
I’m actually configuring my contact form. Error alert messages display well but neither success message displays, neither email is sent (I configured the admin email on the panel of course).
Is there a configuration I missed somewhere ? @mzur you may have an answer I guess ?
I already asked the developer of the theme who politely sent me on the kirby forum…
Where did you put that code? It was meant to be placed inside any template, make sure that is doesn’t interfere with your $success variable from the controller. We only want to test if mails are sent, completely independent from the rest of your code.
Ok, 1 means true, so there doesn’t seem to be an error with sending the mail. That the mail does not get through to a real email address is quite normal when sending mail from localhost, because of blackllisting. What you could try and do is install MailHog or a similar app which would intercept your mail and show them in your browser.