Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Handling Attachments in MIME Email with PHP
Jul 16, 2008 @ 17:58:17

DevShed has posted the second part of their series looking at handling MIME attachments in PHP generated emails today. This time they focus on the modification of their PHP4 class to make sending the emails easy.

In this second tutorial of the series, I'm going to teach you how to improve the initial structure of the MIME mailer class developed in the first article by giving it the ability to work directly with attachments. Sounds fairly interesting, right? Then don't waste any more time in preliminaries and begin reading this article now!

They refresh you on the code from the former tutorial and show you how to modify it to work with more than just the simple plain-text attachment like before (with binary information, things like JPEGs, PDFs and other text formats like XML and HTML).

tagged: attachments mime email tutorial class

Link:

Syntux:
eZ components
Aug 14, 2006 @ 12:39:14

On his blog today, Ammar Ibrahim relays a story of how the Mail component from the eZ component frameowrk "saved the day" for a project he was working on.

A few days ago I was asked to develop a simple script for a solidarity campaign. The idea is that people send their photos as attachements to some email. The script would download all images attached and insert a record for that in the database.

I got introduced to eZ components during my last visit to Norway to attend the eZ systems conference. I decided to give it a shot, and oh boy it’s just amazing, probably the cleanest and simplest API ever.

The Mail attachment provided all that he needed, and he includes the script (about 50 lines long) that he used to fetch the emails. He did have one issue with the ability to fetch a single email with the tool, but he managed to hack around it (script included as well).

tagged: ez components save mail send photos attachments api simple clean ez components save mail send photos attachments api simple clean

Link:

Syntux:
eZ components
Aug 14, 2006 @ 12:39:14

On his blog today, Ammar Ibrahim relays a story of how the Mail component from the eZ component frameowrk "saved the day" for a project he was working on.

A few days ago I was asked to develop a simple script for a solidarity campaign. The idea is that people send their photos as attachements to some email. The script would download all images attached and insert a record for that in the database.

I got introduced to eZ components during my last visit to Norway to attend the eZ systems conference. I decided to give it a shot, and oh boy it’s just amazing, probably the cleanest and simplest API ever.

The Mail attachment provided all that he needed, and he includes the script (about 50 lines long) that he used to fetch the emails. He did have one issue with the ability to fetch a single email with the tool, but he managed to hack around it (script included as well).

tagged: ez components save mail send photos attachments api simple clean ez components save mail send photos attachments api simple clean

Link:

IBM developerWorks:
Craft a Webmail interface for PHP applications
Jun 22, 2006 @ 14:29:33

In this new tutorial from the IBM developerWorks site, they take a look at the development of a webmail interface with the help of PHP.

You know how to get users to interact with a PHP application using a Web form, but sometimes e-mail is just more convenient. Maybe your users are using small devices like cell phones or interacting in a way that's not real time, such as subscribing to an e-mail list. Find out how to read and send e-mail by building a PHP Webmail application.

They cover connecting to the server, grabbing the information from a specific email inbox, pulling the data for a single message, deleting emails, getting a list of the current emails, and how to work with attachments and multipart MIME messages.

You'll need to log in to get to it, but it's a great example of how to work with email in PHP (more than just sending them with mail() or PEAR's mailer package).

tagged: email webmail interface application read delete connect attachments email webmail interface application read delete connect attachments

Link:

IBM developerWorks:
Craft a Webmail interface for PHP applications
Jun 22, 2006 @ 14:29:33

In this new tutorial from the IBM developerWorks site, they take a look at the development of a webmail interface with the help of PHP.

You know how to get users to interact with a PHP application using a Web form, but sometimes e-mail is just more convenient. Maybe your users are using small devices like cell phones or interacting in a way that's not real time, such as subscribing to an e-mail list. Find out how to read and send e-mail by building a PHP Webmail application.

They cover connecting to the server, grabbing the information from a specific email inbox, pulling the data for a single message, deleting emails, getting a list of the current emails, and how to work with attachments and multipart MIME messages.

You'll need to log in to get to it, but it's a great example of how to work with email in PHP (more than just sending them with mail() or PEAR's mailer package).

tagged: email webmail interface application read delete connect attachments email webmail interface application read delete connect attachments

Link:


Trending Topics: