0
I have PHP (XAMPP) set up locally on a Windows OS, and I am writing a webapp with it. This webapp send out several emails. For testing purposes I do not actually wish to forward mails generated by the system.
I also don't want to setup mercury and pegasus mail, as the only functionality I need is an application that will show me every email sent and allows me to click possible links in the emails. Nothing more is needed from the app. I don't actually need to store the emails sent out, and I don't want to be limited to using only @localhost email addresses.
To do this I assume that I need to configure PHP.ini's setting: 'sendmail_path' to an application that will intercept the mails and display them to me.
Is there such an application, and where could I find it?
You might want to change
!== false
to!== ""
or!= false
to avoid the script hanging forever; I had forgotten that fread() works differently from fgets(). – user1686 – 2012-01-19T23:47:11.043