mail() uses the smtp/sendmail settings found in php.ini. If you need to send it via another smtp, or one with authentication (like in your example) mail is simply not enough.
Monthly Archives: September 2012
Create daemons in PHP
Everyone knows PHP can be used to create websites. But it can also be used to create desktop applications and commandline tools. And now with a class called System_Daemon, you can even create daemons using nothing but PHP. And did I mention it was easy?
Sending or viewing emails using telnet
Introduction When troubleshooting email issues, it may be useful to read or send emails from your server directly using the telnet application. This guide shows some basic steps to send an email from your server and how to check your email using telnet.
Show the last queries executed on MySQL
1) Execute SET GLOBAL log_output = ‘TABLE’; 2) Execute SET GLOBAL general_log = ‘ON’; 3) Take a look at the table mysql.general_log
Clickatell Sender ID management Application Statuses
A Sender ID is the name or number that the message appears to come from. By default you can send a message from the mobile number you registered your account with. If you wish to send messages from other numbers or names you will be required to register them. Approval of your submitted Sender ID …
Continue reading “Clickatell Sender ID management Application Statuses”
CSF/LFD firewall installation guide for Plesk
Config Server Firewall (csf) and Login Failure Daemon (lfd) is a robust firewall solution having Stateful Packet Inspection (SPI), Login/Intrusion Detection and Security application for Linux servers. Although it is more compatible with CPanel we have been able to use the same for the Plesk hosting control panel also and it is running fine. Please …
Continue reading “CSF/LFD firewall installation guide for Plesk”