phpDocumentor DisposableEmail
[ class tree: DisposableEmail ] [ index: DisposableEmail ] [ all elements ]

Class: DisposableEmailChecker

Source Location: /core/disposable/disposable.php

Class DisposableEmailChecker

Class Overview

A class that checks an email address and provides some facts about whether

it is a disposable, free web mail, etc. The data that is used to make such decision is static as part of the class implementation, hence avoiding a round trip to a remote service. This makes the class much more efficient in scenarios where performance is an issue.

Located in /core/disposable/disposable.php [line 22]



		
		
		
		

Properties

Methods

[ Top ]
Property Summary
static mixed   $forwarding_domains_array  
static mixed   $open_domains_array  
static mixed   $shredder_domains_array  
static mixed   $time_bound_domains_array  
static mixed   $trash_domains_array  

[ Top ]
Method Summary
static true:   is_disposable_email()   Determines if the email address is disposable.
static true:   is_forwarding_email()   Determines if the email address is disposable email that forwards to users' email address. This is one of the best kind of disposable addresses since emails end up in the user's inbox unless the user cancel the address.
static true:   is_open_email()   Determines if the email address is an email address in an open domain. These are
static true:   is_shredder_email()   Determines if the email address is a shredder email address. Shredder email address delete all received emails without forwarding them or making them available for a user to check.
static true:   is_time_bound_email()   Determines if the email address is time bound, these are the disposable addresses that auto expire after a pre-configured time. For example, 10 minutes, 1 hour, 2 hours, 1 day, 1 month, etc. These address can also be trash emails or forwarding emails.
static true:   is_trash_email()   Determines if the email address is trash email that doesn't forward to
void   echo_results()   A debugging function that takes in an email address and dumps out the details for such email.
void   echo_stats()   A debugging function that outputs some statistics about the number of domains in each category.
void   is_free_email()   See is_open_domain() for details.

[ Top ]
Properties
static mixed   $forwarding_domains_array = array(
'1chuan.com',
'1zhuan.com',
'4warding.com',
'4warding.net',
'4warding.org',
'despammed.com',
'e4ward.com',
'emailias.com',
'fakemailz.com',
'gishpuppy.com',
'hidemail.de',
'imstations.com',
'jetable.org',
'kasmail.com',
'mailfreeonline.com',
'mailmoat.com',
'mailnull.com',
'mailshell.com',
'mailzilla.com',
'mintemail.com',
'netzidiot.de',
'punkass.com',
'safersignup.de',
'shiftmail.com',
'sneakemail.com',
'spambob.net',
'spamex.com',
'spamgourmet.com',
'spamhole.com',
'spammotel.com',
'spamslicer.com',
'spamtrail.com',
'temporaryforwarding.com',
'trashmail.net',
'xemaps.com',
'xmaily.com'
)
[line 24]

[ Top ]
static mixed   $open_domains_array = array(
'aim.com',
'aol.com',
'bk.ru',
'blu.it',
'BTinternet.com',
'caramail.com',
'exclusivemail.co.za',
'executive.co.za',
'free.fr',
'freemail.hu',
'gawab.com',
'gmail.com',
'gmx.at',
'gmx.de',
'gmx.net',
'googlemail.com',
'hanmail.net',
'homemail.co.za',
'hotmail.co.uk',
'hotmail.com',
'hotmail.de',
'hotmail.fr',
'hotmail.it',
'inbox.ru',
'iol.it',
'libero.it',
'list.ru',
'lycos.at',
'lycos.co.uk',
'lycos.de',
'lycos.es',
'lycos.it',
'lycos.nl',
'magicmail.co.za',
'mail.com',
'mail.ru',
'mailbox.co.za',
'msn.co.uk',
'msn.com',
'netscape.com',
'netscape.net',
'o2.pl',
'pancakemail.com',
'ravemail.co.za',
'rediffmail.com',
'starmail.co.za',
'talk21.com',
'thecricket.co.za',
'thegolf.co.za',
'thepub.co.za',
'therugby.co.za',
'ukr.net',
'yahoo.ca',
'yahoo.co.in',
'yahoo.co.jp',
'yahoo.co.uk',
'yahoo.com',
'yahoo.com.ar',
'yahoo.com.asia',
'yahoo.com.au',
'yahoo.com.br',
'yahoo.com.cn',
'yahoo.com.es',
'yahoo.com.hk',
'yahoo.com.malaysia',
'yahoo.com.mx',
'yahoo.com.ph',
'yahoo.com.sg',
'yahoo.com.tw',
'yahoo.com.vn',
'yahoo.de',
'yahoo.dk',
'yahoo.es',
'yahoo.fr',
'yahoo.gr',
'yahoo.ie',
'yahoo.it',
'yahoo.se',
'web.de',
'webmail.co.za',
'websurfer.co.za',
'workmail.co.za'
)
[line 223]

[ Top ]
static mixed   $shredder_domains_array = array(
'spambob.org'
)
[line 174]

[ Top ]
static mixed   $time_bound_domains_array = array(
'10minutemail.com',
'bugmenot.com',
'buyusedlibrarybooks.org',
'despam.it',
'dontreg.com',
'dotmsg.com',
'emailto.de',
'getonemail.com',
'guerrillamail.com',
'guerrillamail.net',
'haltospam.com',
'jetable.com',
'jetable.net',
'jetable.org',
'kasmail.com',
'link2mail.net',
'lovemeleaveme.com',
'mailexpire.com',
'mailzilla.com',
'mintemail.com',
'no-spam.hu',
'noclickemail.com',
'oneoffemail.com',
'oopi.org',
'pookmail.com',
'shortmail.net',
'spambox.us',
'spamfree24.com',
'spamfree24.org',
'spamfree24.net',
'spamhole.com',
'spamify.com',
'tempemail.net',
'tempinbox.com',
'temporaryinbox.com',
'temporarily.de',
'trashdevil.com',
'trashdevil.de',
'trashmail.net',
'walala.org',
'wh4f.org',
'yopmail.com'
)
[line 178]

[ Top ]
static mixed   $trash_domains_array = array(
'10minutemail.com',
'675hosting.com',
'675hosting.net',
'675hosting.org',
'75hosting.com',
'75hosting.net',
'75hosting.org',
'ajaxapp.net',
'amiri.net',
'amiriindustries.com',
'anonymail.dk',
'bugmenot.com',
'bspamfree.org',
'buyusedlibrarybooks.org',
'discardmail.com',
'dodgeit.com',
'dontsendmespam.de',
'emaildienst.de',
'emailmiser.com',
'etranquil.com',
'etranquil.net',
'etranquil.org',
'fastacura.com',
'fastchevy.com',
'fastchrysler.com',
'fastkawasaki.com',
'fastmazda.com',
'fastmitsubishi.com',
'fastnissan.com',
'fastsubaru.com',
'fastsuzuki.com',
'fasttoyota.com',
'fastyamaha.com',
'getonemail.com',
'gowikibooks.com',
'gowikicampus.com',
'gowikicars.com',
'gowikifilms.com',
'gowikigames.com',
'gowikimusic.com',
'gowikinetwork.com',
'gowikitravel.com',
'gowikitv.com',
'haltospam.com',
'ichimail.com',
'ipoo.org',
'killmail.net',
'klassmaster.com',
'link2mail.net',
'lortemail.dk',
'maileater.com',
'mailin8r.com',
'mailinator.com',
'mailinator.net',
'mailinator2.com',
'mailquack.com',
'mailslapping.com',
'myspaceinc.com',
'myspaceinc.net',
'myspaceinc.org',
'myspacepimpedup.com',
'mytrashmail.com',
'no-spam.hu',
'nobulk.com',
'noclickemail.com',
'nospamfor.us',
'oneoffemail.com',
'oneoffmail.com',
'oopi.org',
'ourklips.com',
'pimpedupmyspace.com',
'pookmail.com',
'rejectmail.com',
'recyclemail.dk',
'rklips.com',
'shortmail.net',
'sofort-mail.de',
'sogetthis.com',
'spam.la',
'spamavert.com',
'spambob.com',
'spambog.com',
'spamfree24.com',
'spamfree24.net',
'spamfree24.org',
'spaml.com',
'tempemail.net',
'tempinbox.com',
'temporaryinbox.com',
'trash-mail.de',
'trashdevil.com',
'trashdevil.de',
'trashmail.net',
'turual.com',
'twinmail.de',
'upliftnow.com',
'uplipht.com',
'viditag.com',
'viewcastmedia.com',
'viewcastmedia.net',
'viewcastmedia.org',
'wetrainbayarea.com',
'wetrainbayarea.org',
'whopy.com',
'willselfdestruct.com',
'wilemail.com',
'xagloo.com',
'yopmail.com'
)
[line 63]

[ Top ]
Methods
static method is_disposable_email  [line 314]

  static true: is_disposable_email( $p_email $p_email  )

Determines if the email address is disposable.

Parameters:
$p_email   $p_email:  The email address to validate.

API Tags:
Return:  disposable, false: non-disposable.
Access:  public


[ Top ]
static method is_forwarding_email  [line 331]

  static true: is_forwarding_email( $p_email $p_email  )

Determines if the email address is disposable email that forwards to users' email address. This is one of the best kind of disposable addresses since emails end up in the user's inbox unless the user cancel the address.

Parameters:
$p_email   $p_email:  The email address to check.

API Tags:
Return:  disposable forwarding, false: otherwise.
Access:  public


[ Top ]
static method is_open_email  [line 400]

  static true: is_open_email( $p_email $p_email  )

Determines if the email address is an email address in an open domain. These are

addresses that users can sign up for, typically free. They then has to login to these address to get the emails. These are not considered to be disposable emails, however, if the application is providing a free trial for an expensive server, then users can signup for more accounts to get further trials.

If applications are to block these addresses, it is important to be aware that some users use open webmail as their primary email and that such service providers include hotmail, gmail, and yahoo.

Parameters:
$p_email   $p_email:  The email address to check.

API Tags:
Return:  open domain email, false: otherwise.
Access:  public


[ Top ]
static method is_shredder_email  [line 359]

  static true: is_shredder_email( $p_email $p_email  )

Determines if the email address is a shredder email address. Shredder email address delete all received emails without forwarding them or making them available for a user to check.

Parameters:
$p_email   $p_email:  The email address to check.

API Tags:
Return:  shredded disposable email, false: otherwise.
Access:  public


[ Top ]
static method is_time_bound_email  [line 373]

  static true: is_time_bound_email( $p_email $p_email  )

Determines if the email address is time bound, these are the disposable addresses that auto expire after a pre-configured time. For example, 10 minutes, 1 hour, 2 hours, 1 day, 1 month, etc. These address can also be trash emails or forwarding emails.

Parameters:
$p_email   $p_email:  The email address to check.

API Tags:
Return:  time bound disposable email, false: otherwise.
Access:  public


[ Top ]
static method is_trash_email  [line 346]

  static true: is_trash_email( $p_email $p_email  )

Determines if the email address is trash email that doesn't forward to

user's email address. This kind of address can be checked using a web page and no password is required for such check. Hence, data sent to such address is not protected. Typically users use these addresses to signup for a service, and then they never check it again.

Parameters:
$p_email   $p_email:  The email address to check.

API Tags:
Return:  disposable trash mail, false: otherwise.
Access:  public


[ Top ]
echo_results  [line 412]

  void echo_results( $p_email $p_email  )

A debugging function that takes in an email address and dumps out the details for such email.

Parameters:
$p_email   $p_email:  The email address to echo results for. This must be a safe script (i.e. no javascript, etc).


[ Top ]
echo_stats  [line 426]

  void echo_stats( )

A debugging function that outputs some statistics about the number of domains in each category.



[ Top ]
is_free_email  [line 381]

  void is_free_email( $p_email  )

See is_open_domain() for details.

Parameters:
   $p_email: 


[ Top ]

Documentation generated on Sun, 05 Apr 2009 23:01:11 +0100 by phpDocumentor 1.4.1