Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

linusshops/kickbox-magento

Repository files navigation

kickbox-magento

Kickbox.io email verification for Magento

This module is a wrapper for the Kickbox.io php api library.

Installation

This should be installed using Composer. A magento build should also include the Magento Composer Installer. This module follows the module structure guidelines provided by Firegento, which will also make it very easy to submit to the Firegento Composer Repository.

As this depends on a non-Magento composer module, version 3+ of Magento Composer Installer is required.

Usage

Verify an email

//'risky' emails are also considered deliverable
Mage::helper('linus_kickbox')->verifyIsDeliverable('info@linusshops.com');

Verify an email using the response model

/** @var $verifiedEmail Linus_Kickbox_Model_Email */
$verifiedEmail = Mage::helper('linus_kickbox')->verify('info@linusshops.com');
$isValid = $verifiedEmail->isDeliverable();

//You can also access any of the response fields from Kickbox as magic methods.
$result = $verifiedEmail->result();
$didYouMean = $verifiedEmail->did_you_mean();
$sendex = $verifiedEmail->sendex();

Tests

Included tests can be run with prophet.

prophet scry:phpunit -m kickbox-magento

Author

Samuel Schmidt

License

MIT

About

Kickbox email verification for Magento

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages