I keep getting this error every time I try to check out of my store

Email Error: Could not instantiate mail function. Please check Admin->Configuration->Email Options->Email Transport.

I checked said items, and filled int the nesssesary info, but when I click save, or update, it dosen't seem to want to save the info I entered