Categories

Recent Comments

    mail() in PHP

    PHP allows you to send a mail from script. PHP has wide range of options in mail() function to use it. To send a mail(text) from script The above code just sends a plain text to the mail specified as sender. In-order to send the mail with text/html, you can more parameters to the header, […]

    Apache Commons-Email

    Apache Commons has many built-in utils. One of the most used util is Commons-Email. Couple of week back had a situation need to send a mail to the users from my application. So i ended here. The implementation is very simple. Commons-Email is built on top of the Java Mail API. Some of the mail […]