Removed message priority code (heck, it's already a plugin -- leave it that
[squirrelmail.git] / functions / smtp.php
index b8969a11dc1a3c9ee93d289bb758e471cf5541d0..0405a1dbe4fdfb4cd4ad8ec072dd26cc3d1a7660 100644 (file)
    }
 
    function sendSMTP($t, $c, $b, $subject, $body, $more_headers) {
-      global $username, $popuser, $domain, $version, $smtpServerAddress, $smtpPort,
-         $data_dir, $color, $use_authenticated_smtp, $identity;
+      global $username, $popuser, $domain, $version, $smtpServerAddress, 
+         $smtpPort, $data_dir, $color, $use_authenticated_smtp, $identity, 
+        $key, $onetimepad;
 
       $to = expandAddrs(parseAddrs($t));
       $cc = expandAddrs(parseAddrs($c));
 
    function errorCheck($line, $smtpConnection, $verbose = false) {
       global $color;
-      include '../functions/page_header.php';
       
       // Read new lines on a multiline response
       $lines = $line;
       }
 
       if ($status == 0) {
+         include '../functions/page_header.php';
          displayPageHeader($color, 'None');
                 include ("../functions/display_messages.php");
          $lines = nl2br(htmlspecialchars($lines));
         
       return $length;
    }
-
+   
 ?>