** -> *
[squirrelmail.git] / functions / smtp.php
index 92ab7f72a91538a4a1740c9cad233c7e6b80a55c..78b983cd62933d0084b4de0d4f6dc2a1f44612d9 100644 (file)
@@ -1,15 +1,16 @@
 <?php
-   /** smtp.php
-    **
-    ** This contains all the functions needed to send messages through
-    ** an smtp server or sendmail.
-    **
-    ** $Id$
-    **/
-
-   if (defined('smtp_php'))
-      return;
-   define('smtp_php', true);
+
+   /**
+    *   smtp.php
+    *
+    *   Copyright (c) 1999-2001 The Squirrelmail Development Team
+    *   Licensed under the GNU GPL. For full terms see the file COPYING.
+    *
+    *  This contains all the functions needed to send messages through
+    *  an smtp server or sendmail.
+    *
+    *  $Id$
+    */
 
    require_once('../functions/addressbook.php');
    require_once('../functions/plugin.php');
@@ -20,7 +21,7 @@
    if (ereg("^([^@%/]+)[@%/](.+)$", $username, $usernamedata)) {
       $popuser = $usernamedata[1];
       $domain  = $usernamedata[2];
-         unset($usernamedata);
+      unset($usernamedata);
    } else {
       $popuser = $username;
    }