I know the SwiftMailer extension can do this but can it be done using the native mail() function?
So for example I currently have a $body variable that I populate with a whole load of text. I prefer if I could just put all text into its own file. To do this I will also need to pass it a model object.