Skip to content

Instantly share code, notes, and snippets.

@jlamim
Created July 5, 2016 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlamim/c5d59a5a10b27c892db85fd0f6125cc3 to your computer and use it in GitHub Desktop.
Save jlamim/c5d59a5a10b27c892db85fd0f6125cc3 to your computer and use it in GitHub Desktop.
Validação de email com a API MailBoxLayer - View
<html>
<head>
<title>Validação de email com a API MailBoxLayer</title>
</head>
<body>
<h1>Validação de email com a API MailBoxLayer</h1>
<p>Informe seu email para executar o processo de validação.</strong>.</p>
<form method="POST" action="<?=base_url()?>">
<div>
<input type="email" name="email" required />
</div>
<div>
<input type="submit" value="Validar" />
</div>
</form>
<?php if(isset($validEmail)): ?>
<div>
<h2>Mensagens da validação</h2>
<hr />
<ul>
<?php
foreach($validEmail as $item):
echo "<li>$item</li>";
endforeach;
?>
</ul>
</div>
<?php endif; ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment