I am developing a website as part of my final year project and I want to display a message which confirms that an email has been sent.
I know how to display custom error messages on a form i.e. You cannot go any further until the following errors are fixed : login name not known!
I want to display a message which will say: your email has been sent! after I send an email. I have been told that I should display this message through the flash.
I am unsure on how to do this, any help would be greatly appreciated.