Hello all,
I have installed the MailExtension, but I am not sure how to use it. 🤔
I have created a new empty page and created the block "Custom Snippet" there. There I copied the example code from the readme and changed it a bit:
<@ Automad/Mail {
to: @{me@domain.tld},
error: 'My Error Message',
success: 'My Success Message'
} @>
:
:
<button class="uk-button" type="submit">Send</button>
</form>
I wonder if the @{}
has to be removed from the To address?
What do I do with the @{ url }
field in the form tag? Can / must it remain as it is? And if it has to be changed, to what?
When I call up the page via browser, a simple form appears. So far so good. If I fill in the fields and press Send, the page is reloaded and the fields are cleared, but nothing else happens. Neither an error / success message nor a mail arrives. Hmmm 🤔
Can anyone give me a tip here? That would be great!