I'm unable to find any good documentation or examples of how to send an mail to an email address using Yesod.
More practically, I'll extract the information the user typed inside a simple form (name, age, body of message) and send this information as a mail to an email address.
I'm kind of lost in this task.
There are three packages I'd recommend you look at:
sendmail
executable.There is some discussion about sending email in the auth chapter of the Yesod book.
Yesod doesn't have mailing functions. You have to use other packages outside Yesod.
Maybe you'd want to check this short answer: https://stackoverflow.com/a/11763447/1744195
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With