{mail_valid_email}

Überprüft die Syntax einer E-Mail auf ihre Richtigkeit.

Attribut  Typ  Erforderlich  Beschreibung 
adress  string  Ja E-Mail, die überprüft werden soll
var  string  Ja Variable in welcher das Resultat steht

Rückgabewert ist true oder false.

Beispiel

QuelltextSmarty Code:
  1. {mail_valid_email adress="demo@egotec.com" var="mail_check"}

  2. {if $mail_check}
  3.     richtig
  4. {else}
  5.     falsch
  6. {/if}

 

Tel: +49 (0)6261 / 6743-0
Fax: +49 (0)6261 / 6743-29
E-Mail: info@egotec.com
EGOTEC GmbH
Hauptstraße 130
D-74821 Mosbach
Erstellt mit EGOTEC® Internet: www.egotec.com © EGOTEC GmbH