PHP code example of darvinstudio / webmail-linker
1. Go to this page and download the library: Download darvinstudio/webmail-linker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
darvinstudio / webmail-linker example snippets
$wl = new WebmailLinker();
if($provider = $wl->getProviderByEmailAddress('[email protected]')) {
$html = '<a href="%s">Check your email at %s</a>';
printf($html, htmlspecialchars($provider['url']), htmlspecialchars($provider['name']));
}