Questa interessante classe php permette di validare un’ email tramite smtp con php
< ?php /** * Validate Email Addresses Via SMTP * This queries the SMTP server to see if the email address is accepted. * @copyright http://creativecommons.org/licenses/by/2.0/ - Please keep this comment intact * @author gabe@fijiwebdesign.com * @contributers adnan@barakatdesigns.net * @version 0.1a */ class SMTP_validateEmail { /** * PHP Socket resource to remote MTA * @var resource $sock */ var $sock; /** * Current User being validated */ var $user; /** * Current domain where user is being validated */ var $domain; /** * List of domains to validate users on */…
define('GUSER', 'you@gmail.com'); // Gmail username define('GPWD', 'password'); // Gmail password function smtpmailer($to, $from, $from_name, $subject, $body) { global $error; $mail = new PHPMailer(); // create a new object $mail->IsSMTP(); // enable SMTP $mail->SMTPDebug = 0; // debugging: 1 = errors and messages, 2 = messages only $mail->SMTPAuth = true; // authentication enabled $mail->SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for Gmail $mail->Host = 'smtp.gmail.com'; $mail->Port = …
< ?php function convert_emails_to_clickable_links($text) { $regex = "([a-z0-9_\-\.]+)". # name "@". # at "([a-z0-9-]{1,64})". # domain "\.". # period "([a-z]{2,10})"; # domain extension $text = eregi_replace($regex, '<a href="mailto:\\1@\\2.\\3">\\1@\\2.\\3', $text); return $text; } $text = 'You can contact me at: example-name@mysite.com. My alternative address is other-username@domain.com.'; echo convert_emails_to_clickable_links($text); /* You can contact me at: <a href="mailto:example-name@mysite.com">example-name@mysite.com</a>. My alternative address is <a href="mailto:other-username@domain.com">other-username@domain.com</a>. ?> */…
Codice CSS:
div.toggler { border:1px solid #ccc; background:url(gmail2.jpg) 10px 12px #eee no-repeat; cursor:pointer; padding:10px 32px; } div.toggler .subject { font-weight:bold; } div.read { color:#666; } div.toggler .from, div.toggler .date { font-style:italic; font-size:11px; } div.body { padding:10px 20px; }
Codice MooTools:
window.addEvent('domready',function() { var togglers = $$('div.toggler'); if(togglers.length) var gmail = new Fx.Accordion…

MyOutlook is a program written in PHP adopted Microsoft Outlook function: webmail, task and event organizer and contact address management
…