You are here: Home

Easily accept email in your web apps!

Save yourself hours of development and maintenance - handle incoming email in your web applications by writing simple web scripts.


You can do what these guys do.

By writing a simple web script in your favorite language, you can do what the big guys do:

Flickr members can upload pictures using their private email address, like bcl24ceb@photos.flickr.com
Google Docs & Spreadsheets users can upload and convert documents using a private email address, like avery-239a-bca4@prod.writely.com
Craigslist advertisers are assigned anonymous email addresses for each post, like sale-1745112@craigslist.org

We make it easy.

The only thing you need to do is place your script on your web server and tell us the URL. Check out this simple PHP script.

<?php

// Save each attachment from the message to disk
foreach ($_FILES as $attachment)
{
	move_uploaded_file($attachment["tmp_name"],
		"../files/" . $attachment["name"]);
}

// Send a reply back to the sender by email
// by simply producing some output
$numberOfFiles = sizeof($_FILES);
echo "Thank you, my friend.  I have received your "
	. $numberOfFiles . " files."
	. "\r\n\r\n---Original message---\r\n"
	. $_POST["body"];

?>

Sign up for Email2HTTP »

Copyright © 2006-2009 Trevose Consultants Ltd.
Contact us | Terms of Use