How will one on Linux get the mail function to work to be able to create email files (EML) on their computer by using the PHP mail() function? When I was on Windows I used XAMPP and the Test Mail Server Tool.

3. Open the php.ini file that is located in your /opt/lampp/etc directory4. Press CTRL+F and then type "mail function"5. Under the [mail function] remove comment from sendmail_path6. Set sendmail_path to