Posts under Open Source

WordPress Plugin Dev: How to send email using SMTP?

advertisement

wordpressIf you are doing WordPress plugin development that need to send out email, i think it’s a good idea to set the SMTP settings in your own plugin instead of using other third party SMTP plugin. It’s not that third party plugin is not good, but some times due to the plugin priority issue, the email might not sent out. This might because of the priority issue.

To send email using SMTP in your own WordPress plugin, follow the code below:-

Continue reading WordPress Plugin Dev: How to send email using SMTP? »

How to split compressed file into smaller files in Linux / Mac

advertisement

mac linux I’ve written a script to compressed some files and upload to my online cloud storage as a backup daily. Due to memory limitation, i’ve to split the large compressed file into smaller files and upload each of them one at a time. While i’m writing the script, i notice to split the compressed file into smaller files, you need to use another command “split” which i covered many years ago but seldom use it. :p

Continue reading How to split compressed file into smaller files in Linux / Mac »