How it works...The best way to generate genuine traffic is by referrals, and our unique importer script helps you do just that. Your visitors simply provide their email address and password and our script fetches a list of contacts as an array.. Your application can then choose to send emails to these contacts, store them in your database, match them to existing members, etc.
Easy Integration for PHP, .NET, Java, Ruby & ColdFusion (and others)Get up and running in just 5 minutes! See how. Available for PHP, .NET, Java, Ruby and ColdFusion. Well-thought architecture ensures you are able support new webmails without changing a single line of your code! We've also included a "Unified Inviter Component" for the PHP version, making it much easier for you to integrate it into any PHP applications. All you need to do is
Ready Integration with Third Party Apps!Our PHP library supports the following third party apps through plugins/mods bundled with the distribution
Growing list of available mods/plugins available here.
|
Features & Benefits
|
System Requirements
| Platform | Requirements | What is included |
|---|---|---|
| PHP |
|
Core library scripts, sample codes, documentation |
| .NET |
|
Core library DLLs, sample codes, documentation |
| Java |
|
Core library JARs, sample codes, documentation |
| Ruby |
|
Core library scripts, sample codes, documentation |
| ColdFusion |
|
Core library files, sample codes, documentation |
Sample Codes
include_once("abimporter/abi.php");
$obj = new AddressBookImporter;
$res = $obj->fetchContacts($email,$pass);
if ($res==_ABI_AUTHENTICATION_FAILED) {
echo 'Bad user name or password';
}
else if ($res==_ABI_FAILED) {
echo 'Server error';
}
else if ($res==_ABI_UNSUPPORTED) {
echo 'Unsupported webmail';
}
else {
foreach ($res as $contact) {
$name = $contact->name;
$email = $contact->email;
echo htmlentities($name).' <'.htmlentities($email).'>
';
}
}
using System;
using System.Collections.Generic;
using System.Text;
using Octazen.AddressBook;
using Octazen.Http;
class Program
{
static void Main(string[] args)
{
try
{
string email = "myaccount@gmail.com";
string pass = "mypassword";
List cl =
SimpleAddressBookImporter.FetchContacts(email, pass);
foreach (Contact contact in cl)
Console.WriteLine(contact.Name+ " <" + contact.Email + ">");
}
catch (UnsupportedAddressBookException e)
{
Console.WriteLine("Unsupported webmail");
}
catch (AddressBookAuthenticationException e)
{
Console.WriteLine("Authentication failed - " + e.Message);
}
catch (Exception e)
{
Console.WriteLine("Server error - " + e.Message);
Console.WriteLine(e.StackTrace);
}
}
}
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import octazen.addressbook.AddressBookAuthenticationException;
import octazen.addressbook.AddressBookException;
import octazen.addressbook.Contact;
import octazen.addressbook.SimpleAddressBookImporter;
import octazen.addressbook.UnexpectedFormatException;
import octazen.addressbook.UnsupportedAddressBookException;
import octazen.http.HttpException;
public class TestImporter {
public static void main(String[] args) {
try {
String email = "myaccount@gmail.com";
String pass = "mypassword";
List list =
SimpleAddressBookImporter.fetchContacts(email, pass);
Iterator it = list.iterator();
while (it.hasNext()) {
Contact contact = (Contact) it.next();
System.out.println(contact.getName()
+ " <"+ contact.getEmail() + ">");
}
} catch (AddressBookAuthenticationException e) {
System.err.println("Sorry, bad user name or password");
} catch (UnexpectedFormatException e) {
System.err.println("Server error. Received unexpected content");
} catch (UnsupportedAddressBookException e) {
System.err.println("Unsupported webmail");
} catch (AddressBookException e) {
System.err.println("Unsupported webmail / internal error");
} catch (IOException e) {
System.err.println("IO exception:" + e.getMessage());
} catch (HttpException e) {
System.err.println("General http error");}
}
}
require 'abimporter/abi'
begin
puts "Please enter your email address. Append .plaxo\r\nto end of email address for Plaxo imports : "
email = gets().strip
puts "Please enter your email password: "
pass = gets().strip
al = Octazen::SimpleAddressBookImporter.fetch_contacts(email,pass)
al.each do |contact|
email = contact.email
name = contact.name
puts "Email=#{email}, Name=#{name}"
end
rescue Octazen::AuthenticationError => err
puts "Bad user name or password"
rescue Octazen::UnexpectedFormatError => err
puts "Server returned unexpected data"
rescue Octazen::CaptchaError => err
puts "Captcha challenge issued by server"
rescue Octazen::UserInputRequiredError => err
puts "Need to answer some questions in the webmail service"
rescue Octazen::UnsupportedAddressBookError => err
puts "Not a supported address book"
rescue Octazen::AddressBookError => err
puts "General error"
end


Largest Webmail Support