squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

view_text.php File Reference

Go to the source code of this file.

Namespaces

 squirrelmail
 

Variables

const SM_PATH '../'
 
if(sqgetGlobalVar('mailbox', $temp, SQ_GET)) if(!sqgetGlobalVar('ent_id', $ent_id, SQ_GET)) if(!sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET)) $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0)
 
 $mbx_response = sqimap_mailbox_select($imapConnection, $mailbox)
 
 $message = $messages[$mbx_response['UIDVALIDITY']][$passed_id]
 
 $message_ent = $message->getEntity($ent_id)
 
if($passed_ent_id) $header = $message_ent->header
 
 $type0 = $header->type0
 
 $type1 = $header->type1
 
 $charset = $header->getParameter('charset')
 
 $encoding = strtolower($header->encoding)
 
 $msg_url = 'read_body.php?' . $QUERY_STRING
 
 $dwnld_url = '../src/download.php?' . $QUERY_STRING . '&absolute_dl=true'
 
 $unsafe_url = 'view_text.php?' . $QUERY_STRING
 
 $body = mime_fetch_body($imapConnection, $passed_id, $ent_id)
 
if(isset($languages[$squirrelmail_language]['XTRA_CODE']) &&function_exists($languages[$squirrelmail_language]['XTRA_CODE'])) if($type1=='html'||(isset($override_type1) &&$override_type1=='html')) else
 
 if ($ishtml)
 

Variable Documentation

◆ $body

$body = mime_fetch_body($imapConnection, $passed_id, $ent_id)

Definition at line 76 of file view_text.php.

◆ $charset

◆ $dwnld_url

$dwnld_url = '../src/download.php?' . $QUERY_STRING . '&absolute_dl=true'

Definition at line 72 of file view_text.php.

◆ $encoding

$encoding = strtolower($header->encoding)

Definition at line 68 of file view_text.php.

◆ $header

if ( $passed_ent_id) $header = $message_ent->header

Definition at line 64 of file view_text.php.

◆ $imapConnection

if (sqgetGlobalVar( 'mailbox', $temp, SQ_GET)) if (!sqgetGlobalVar( 'ent_id', $ent_id, SQ_GET)) if (!sqgetGlobalVar( 'passed_ent_id', $passed_ent_id, SQ_GET)) $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0)

Definition at line 49 of file view_text.php.

◆ $mbx_response

$mbx_response = sqimap_mailbox_select($imapConnection, $mailbox)

Definition at line 50 of file view_text.php.

◆ $message

$message = $messages[$mbx_response['UIDVALIDITY']][$passed_id]

Definition at line 59 of file view_text.php.

◆ $message_ent

$message_ent = $message->getEntity($ent_id)

Definition at line 60 of file view_text.php.

◆ $msg_url

$msg_url = 'read_body.php?' . $QUERY_STRING

Definition at line 70 of file view_text.php.

◆ $type0

$type0 = $header->type0

◆ $type1

$type1 = $header->type1

Definition at line 66 of file view_text.php.

◆ $unsafe_url

$unsafe_url = 'view_text.php?' . $QUERY_STRING

Definition at line 73 of file view_text.php.

◆ else

if (isset( $languages[ $squirrelmail_language][ 'XTRA_CODE']) &&function_exists( $languages[ $squirrelmail_language][ 'XTRA_CODE'])) if ( $type1=='html'||(isset( $override_type1) && $override_type1=='html')) else
Initial value:
{
$ishtml = FALSE

Definition at line 92 of file view_text.php.

◆ if

if( $ishtml)

Definition at line 107 of file view_text.php.

◆ SM_PATH

const SM_PATH '../'

Path for SquirrelMail required files. @ignore

Definition at line 20 of file view_text.php.