fake sendmail for windows
about
sendmail.exe is a simple windows console application that emulates sendmail’s "-t" option to deliver emails piped via stdin.
Attention in classroom
sendmail.exe is a simple windows console application that emulates sendmail’s "-t" option to deliver emails piped via stdin.
The new WAMP Server’s PHP and stand-alone PHP v5.3+, are now NOT available with some of the extensions required to implement the previous solution [PHPMailer] (there is a workaround to install the missing extension(s), described in the linked article). So an alternate and much less efficient (slower, but negligible low-speed for development platform (WAMP/localhost)) solution can be implemented, as below:
Continue reading “Send email from localhost/WAMP Server using sendmail”
As I caught myself in process of writing PHP "log" function several times I have finally decided to create a simple Logging PHP class. After Logging class initialization, first call of lwrite method will open log file implicitly and write line to the file. Every other lwrite will use already opened file pointer until closing file with lclose. It is always a good idea to close a file when it’s over. This should prevent file from corruption and overhead in closing file is negligible.
CSSTidy is an opensource CSS parser and optimiser. It is available as executeable file (available for Windows, Linux and OSX) which can be controlled per command line and as PHP script (both with almost the same functionality).
Plesk remove Qmail and Install Postfix
Switching the maildriver from qmail to Postfix using Autoinstaller fails on RHEL/CentOS – 6.4 with errors like the following: