- Code: Select all
sendmail_from = noreply@localhost.com
sendmail_path = "cat > /home/john/Documents/XAMPP\ Emails/`date '+%Y-%m-%d - %H-%M-%S'`.eml"
And this will create EML files and have then saved in my Documents\XAMPP Emails\ folder and they will be named by the date and time they are created. How would one do this on Windows? I cannot convert the sendmail_path to execute on Windows since the command to my understanding is for Linux computers.