I need to test a function that uses PHP\'s mail() How can I do this without uploading the script to a server and test it online? What\'s even more I am developin
Setup a pop3 server in local Machine. Many available for free. and send mails within your local domain using sendmail.
By default its not required to set the sendmail path in Linux. at least I never needed it. just use the mail() function and hit mails on local domain