Checks emails format, unlike others it supports have a plus (+) sign in the address.
NOTE: this is easy for the user to by pass, as it is in javascript witch is not server side code.
function emlChk(str) // email format checker/validator.
{
var filter='^((?:(\\")|\.|\+|\!|\$|&|\*|\-|\=|\^|\`|\||\~|\#|\%|'|\/|\?|\_|\{|\}|\s|\@|\w)*)@(?:[\w-]+\.){1,255}(ac|ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|asia|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cat|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|info|int|io|iq|ir|is|it|je|jm|jo|jobs|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mo|mobi|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|travel|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn|ye|yt|yu|za|zm|zw)$'
if(filter.test(str))
{
return true
} else {
return false
}
}
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1284"></script>
/*method validateMail*/
public bool validateMail(string Mailadress)
{
string mailPattern = @"^[\w\._]{1,}@[\w\._]{2,}\.\w{2,4}$”;
Regex re = new Regex(mailPattern);
Match ma = re.Match(Mailadress);
if (ma.Success)
return true;
else
return false;
}
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1090"></script>
Smtp-source est fourni avec le package postfix. Il permet d'envoyer un grand nombre de mails sur un serveur. C'est très utile pour voir si votre serveur tient bien lors d'une grosse montée en charge.
smtp-source -s 20 -l 5120 -m 15 -c -f user1@domain.tld -t user2@domain.tld serveurdemail:25
# -s Nombre de thread
# -l Taille du message
# -m Nombre de message
# -c affiche un compteur
# -f expediteur
# -t destinataire
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/712"></script>
// Vérification de la forme
function isEmail($email){
return preg_match("/^(\w|-|\.)+@((\w|-)+\.)+[a-z]{2,6}$/i",
$email)
}
// Domaine valide ?
function isEmailDomaine($email){
return false;
}else{
return true;
}
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/152"></script>
mutt -a PIECE_JOINTE -s "SUJET" EMAIL_DESTINATAIRE < FICHER_AVEC_CORPS_DU_MSG
Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/43"></script>