1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disallowed emails

Discussion in 'XenForo Questions and Support' started by thomas1, Apr 19, 2013.

  1. thomas1

    thomas1 Active Member

    I was wondering if there is any way to mass import disallowed email addresses instead of entering them one by one through the ACP?

    Thanks in advance.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. Walter

    Walter Well-Known Member

    Importing them via SQL is quite easy.
    All you have to keep in mind is to insert the last address manually to rebuild the cache.
  4. AlexT

    AlexT Well-Known Member

    To use within the xF framework:

    $bademails = array('0815.ru', '0clickemail.com', '2008-onlines.info', 'ag.us.to', 'agedmail.com', 'alsado.com', 'anonymbox.com', 'bestfreemall.info', 'bofthew.com', 'bspamfree.org', 'buffemail.com', 'bugmenot.com', 'cashette.com', 'cust.in', 'dbunker.com', 'deadaddress.com', 'dingbone.com', '@discardmail.*', 'dispostable.com', 'dodgit.com', 'dontreg.com', 'dontsendmespam.de', 'e4ward.com', 'eyepaste.com', 'fakeinbox.com', 'filzmail.com', 'fixmail.tk', 'freeideasearch.info', 'fromru.com', 'fudgerub.com', 'gawab.com', 'gelitik.in', 'getonemail.com', 'golfilla.info', '@guerrillamail.*', 'guerrillamailblock.com', 'i.ua', 'incognitomail.net', 'jetable.org', 'klassmaster.com', 'lawlita.com', 'lookugly.com', 'mailcatch.com', 'maileater.com', 'mailexpire.com', 'mailforspam.com', 'mailin8r.com', '@mailinator.*', 'mailinator2.com', 'mailtrash.net', 'marketingops.com', 'megabox.ru', 'meltmail.com', 'mfsa.ru', 'mobi.web.id', '@mytrashmail.*', 'noclickemail.com', 'nospam4.us', 'nospamfor.us', 'nowmymail.com', 'onewaymail.com', 'onlinehealthclub.org', 'pisem.net', 'pleasantphoto.com', 'pookmail.com', 'quickinbox.com', 'rambler.ru', 'reitkopf.com', 'res8.info', 'sharklasers.com', 'smellfear.com', 'sogetthis.com', 'spam.la', 'spam4.me', 'spamavert.com', '@spambog.*', 'spamgourmet.com', 'spamherelots.com', 'spamhereplease.com', 'spamhole.com', 'spamspot.com', '@tempemail.*', 'tempemail.co.za', 'tempinbox.com', 'temporaryemail.net', 'temporaryinbox.com', 'thisisnotmyrealemail.com', 'topadult20.info', 'topmeds20.org', 'tradermail.info', 'trashdevi.de', 'trashdevil.com', '@trash-mail.*', 'trashymail.com', 'veryrealemail.com', 'web-err.com', 'wwwnew.eu', 'xoxma.net', '@yopmail.*');
    $optionModel = XenForo_Model::create('XenForo_Model_Banning');
    foreach ($bademails as $bademail)

Share This Page