audibleCode

a code repository for codes that you don’t have enough words to describe

Posts Tagged ‘mail

Send emails in PHP-Using PEAR extensions II

without comments

 

In the previous post we looked at managing and installing PHP Extension and Application Repository (PEAR) packages, as well as how to use such a package from a PHP script. Now we will look at some of the other packages in the PEAR library.

The packages required for this column are available from www.pear.php.net.

To install them into your local PHP system, copy all packages from the PEAR site into a temporary directory, then type:

$ pear install

Where <package filename> is the filename of the package you are installing. The packages are stored in tar gzipped format, so you may get an error like this:

The extension ‘zlib’ couldn’t be found.

Read the rest of this entry »

Written by audiblecode

May 24, 2008 at 3:53 pm

Posted in Uncategorized

Tagged with , , , , , , , ,

Send emails in PHP-Using PEAR extensions

with 3 comments

The PHP Extension and Application Repository (PEAR) is an open source structured library of packages for PHP developers. These packages provide routines which solve problems PHP developers regularly face: sending structured e-mail (such as an HTML attachment), interacting with different databases from a single script, error handling, recovery and logging.
The base installation of PEAR is shipped with PHP itself. The programmers working on PEAR have developed a method of installing new packages and keeping your existing installation up-to-date, called the PEAR package manager.

PEAR package manager
If you are using a version of PHP prior to 4.3, you will need to install the PEAR package manager. UNIX users can run the following command:
lynx -source http://go-pear.org/ | /path/to/php

This downloads the source of the page at http://go-pear.org and runs it with the PHP binary (replace /path/to with the path to PHP on your system).

Read the rest of this entry »

Written by audiblecode

May 24, 2008 at 3:43 pm

Using G-Mail as a virtual harddrive on your local computer

with one comment

The two gigabytes of storage you get with a Gmail account seems like an enormous waste of space for just e-mail. You’re not likely ever to fill it; were you to come close, Google would no doubt have doubled the space by then. Wouldn’t it be nice to be able to use some of that storage for something other than mail?

Well, you can. A free piece of software and the know-how to change a few Gmail settings are all you need to turn your Gmail storage into a virtual hard drive you can access any time you’re connected to the Internet. (If you don’t yet have a Gmail account, ask someone you know who has one, or anyone who sends you a message from one, for an invite. Gmail is still technically beta and invitation-only.)

First, get the GMail Drive shell extension fromhttp://www.viksoe.dk/code/gmail.htm and install it. Download the ZIP file, extract all the files into a folder, then run setup.exe. (Note: The GMail Drive shell extension works only with Internet Explorer, Version 5 or above.)

Read the rest of this entry »

Written by audiblecode

May 22, 2008 at 9:13 pm