Tag: Send MAIL

Installing PEAR Mail for PHP On Ubuntu

It helps you how to make Ubuntu PHP localhost mail function work, using PHP to send mail from localhost is easy. First, you need to install some PEAR mail packages. In terminal, run the following command one by one: sudo apt-get install php-pear sudo pear install mail sudo pear install Net_SMTP sudo pear Auth_SASL sudo …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/installing-pear-mail-for-php-on-ubuntu/

HTML mailto attribute

The HTML mailto is a quick way to add the facility of receiving feedback from visitor on the web site. when the visitor clicked the HTML mailto, It lanuches their email program with new email window. Note: HTML mailto assumes that the visitor has configured an email client (Outlook Express, Netscape Messenger, Thunderbird or any …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/html-mailto-attribute/

Send HTML Mail With PHP

Sending html email in php is extremely easy. All you have to do is call the “mail” function with some extra header. Have a look on example: <?php //define the receiver of the email $to = ‘youraddress@example.com’; //define the subject of the email $subject = ‘Test HTML email’; //create a boundary string. It must be unique //so …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/send-html-mail-with-php/