XAMPP HTML PHP how to send fakemail

How can I send a fake email from a form with php? DIR mailtodisk and mailoutput are under C:/xampp. I get completely dizzy when reading the contents of all the *.ini files. Can anyone explain?