Logo Search packages:      
Sourcecode: egroupware version File versions  Download package

Public Member Functions | Public Attributes

mail_dcom Class Reference

Inheritance diagram for mail_dcom:
Inheritance graph
[legend]
Collaboration diagram for mail_dcom:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 add_crlf ($str)
 append ($stream_notused, $fq_folder, $message, $flags_str='')
 append ($stream, $folder="Sent", $header, $body, $flags="")
 append ($stream, $folder, $message, $flags=0)
 append ($stream, $folder='Sent', $header, $body, $flags='')
 append ($stream, $folder= 'Sent', $header, $body, $flags=0)
 base64 ($text)
 base64 ($text)
 base64 ($text)
 bs_read_port ($bytes)
 bs_write_port ($str, $bytes=0)
 build_address_structure ($key)
 close ($stream, $flags='')
 close ($flags='')
 close ($stream, $flags='')
 close ($flags="")
 close ($stream, $flags=0)
 close_port ()
 construct_folder_str ($folder)
 construct_folder_str ($folder)
 construct_folder_str ($folder)
 convert_date ($msg_date)
 convert_date_array ($field_list)
 create_embeded_fetchstructure (&$ref_info)
 create_header ($line, $header, $line2='')
 createmailbox ($stream, $mailbox)
 createmailbox ($stream_notused, $fq_folder)
 createmailbox ($stream, $mailbox)
 createmailbox ($stream, $mailbox)
 createmailbox ($stream, $mailbox)
 decode_author ($author, &$email, &$name)
 decode_base64 ($string)
 decode_header ($string)
 decode_qp ($string)
 deconstruct_folder_str ($folder)
 deconstruct_folder_str ($folder)
 deconstruct_folder_str ($folder)
 default_encoding ()
 default_subtype ($type_int=TYPEAPPLICATION)
 default_type ($probably_text=True)
 delete ($stream, $msg_num, $flags='', $currentfolder='')
 delete ($stream_notused, $msg_list, $flags=0)
 delete ($stream_notused, $msg_num, $flags="")
 delete ($stream, $msg_num, $flags=0)
 delete ($stream, $msg_num, $flags=0)
 deletemailbox ($stream, $mailbox)
 deletemailbox ($stream, $mailbox)
 deletemailbox ($stream, $mailbox)
 deletemailbox ($stream_notused, $fq_folder)
 deletemailbox ($stream, $mailbox)
 distill_fq_folder ($fq_folder)
 encoding_int_to_str ($encoding_int)
 encoding_str_to_int ($encoding_str)
 error ()
 expunge ($stream)
 expunge ($stream)
 expunge ($stream)
 expunge ($stream_notused)
 expunge ($stream)
 extract_header_item ($data_type, $next_item_type, $if_nothing)
 fetch_field ($start, $stop, $element)
 fetch_field ($start, $stop, $element)
 fetch_head_and_struct ($this__fs_rawstr='')
 fetch_header ($start, $stop, $element)
 fetch_header_element ($start, $stop, $element)
 fetch_overview ($stream, $sequence, $flags)
 fetch_overview ($stream_notused, $criteria, $flags)
 fetch_raw_mail ($stream, $msg_num)
 fetch_raw_mail ($stream, $msg_num, $flags=0)
 fetch_raw_mail ($stream, $msg_num, $flags=0)
 fetch_request_common ($stream_notused, $msg_num, $flags="")
 fetchbody ($stream_notused, $msg_num, $part_num="", $flags=0, $just_peek='')
 fetchbody ($stream, $msgnr, $partnr, $flags=0)
 fetchbody ($stream, $msgnr, $partnr, $flags='')
 fetchbody ($stream_notused, $msg_num, $part_num='', $flags='')
 fetchbody ($stream, $msgnr, $partnr, $flags=0)
 fetchheader ($stream_notused, $msg_num, $flags=0)
 fetchheader ($stream, $msg_num)
 fetchheader ($stream_notused, $msg_num, $flags='')
 fetchheader ($stream, $msg_num, $flags=0)
 fetchheader ($stream, $msg_num, $flags=0)
 fetchstructure ($stream_notused, $msg_num, $flags="")
 fetchstructure ($stream_notused, $msg_num, $flags="")
 fetchstructure ($stream, $msg_num, $flags='')
 fetchstructure ($stream, $msg_num, $flags=0)
 fetchstructure ($stream, $msg_num, $flags=0)
 fill_toplevel_fetchstructure ($stream_notused, $msg_num, $flags="")
 finish_header_data ($info)
 first_message ($folder='')
 fix_folder ($folder='')
 folder_list_did_change ()
 folder_list_did_change ()
 get_addr_details ($people, $address, &$ref_header, &$ref_count)
 get_att_name ($de_part)
 get_body ($stream, $msg_num, $flags=0)
 get_body ($stream_notused, $msg_num, $flags=0)
 get_body ($stream, $msg_num, $flags='')
 get_body ($stream_notused, $msg_num, $flags='', $phpgw_include_header=True)
 get_body ($stream, $msg_num, $flags=0)
 get_first_folder ()
 get_flag ($stream, $msg_num, $flag)
 get_flag ($stream, $msg_num, $flag)
 get_header ($stream, $msg_num, $flags)
 get_header ($stream, $msg_num, $flags)
 get_header ($stream, $msg_num)
 get_header_array ($stream_notused, $msg_num, $flags='')
 get_header_raw ($stream_notused, $msg_num, $flags='')
 get_mailbox_counts ($folder='', $index=1)
 get_mailbox_name ($folder)
 get_mime_encoding ($de_part)
 get_mime_type ($de_part)
 get_next_cmd_num ()
 gethttpsocketfile ($file, $user='', $passwd='', $string=False)
 glob_to_array ($data, $keep_blank_lines=True, $cut_from_here='', $keep_received_lines=True, $idx_offset=0)
 header ($stream, $msg_nr, $fromlength='', $tolength='', $defaulthost='')
 header ($stream_notused, $msg_num, $fromlength="", $tolength="", $defaulthost="")
 header ($stream, $msg_nr, $fromlength='', $tolength='', $defaulthost='')
 header ($stream, $msg_nr, $fromlength='', $tolength='', $defaulthost='')
 header ($stream_notused, $msg_num, $fromlength='', $tolength='', $defaulthost='')
 headers ($stream)
 i_search ($stream, $criteria, $flags=0)
 i_search ($stream_notused, $criteria, $flags=0)
 i_search ($stream, $criteria, $flags=0)
 imap_parse_header ($tmp_data=array())
 imap_read_port ($cmd_tag='')
 last_message ($folder='')
 listmailbox ($stream, $ref, $pattern)
 listmailbox ($stream, $ref, $pattern)
 listmailbox ($stream, $ref, $pattern)
 listmailbox ($stream_notused, $server_str, $pattern)
 listmailbox ($stream, $ref, $pattern)
 login ($folder='INBOX')
 login ($user, $passwd, $server, $port, $folder= '')
 mail_dcom_base ()
 mail_dcom_base ()
 mail_header ($msgnum)
 mail_headerinfo ($msgnum)
 mail_move ($stream, $msg_list, $mailbox, $flags)
 mail_move ($stream, $msg_list, $mailbox)
 mail_move ($stream, $msg_list, $mailbox, $flags=0)
 mail_move ($stream_notused, $msg_list, $fq_folder, $flags=0)
 mail_move ($stream, $msg_list, $mailbox)
 mailboxmsginfo ($stream)
 mailboxmsginfo ($stream)
 mailboxmsginfo ($stream)
 mailboxmsginfo ($stream_notused='')
 mailboxmsginfo ($stream_notused)
 mailboxmsginfo ($folder='')
 mailcopy ($stream, $msg_list, $mailbox, $flags)
 mailcopy ($stream, $msg_list, $mailbox, $flags=0)
 mailcopy ($stream, $msg_list, $mailbox, $flags)
 mailcopy ($stream, $msg_list, $mailbox, $flags)
 mailcopy ($stream, $msg_list, $mailbox, $flags)
 make_address ($address_str)
 make_msg_struct ($called_from='', &$ref_parent)
 make_param ($parameters_str)
 make_udate ($msg_date)
 make_xxaddress_str ($array_of_address)
 make_xxaddress_str ($array_of_address)
 mode_reader ()
 more_info ($header, $i, $info, $infokey)
 msg2socket ($str, $expected_response, &$response)
 msgno_to_uid ($stream_notused, $msg_num)
 network ($addcrlf=true)
 noop_ping_test ($stream)
 noop_ping_test ($stream)
 noop_ping_test ($stream)
 noop_ping_test ($stream_notused)
 num_msg ($stream)
 num_msg ($stream_notused)
 num_msg ($folder='')
 num_msg ($stream)
 num_msg ($stream)
 num_msg ($folder='')
 open ($mailbox, $username, $password, $flags=0)
 open ($fq_folder, $user, $pass, $flags='')
 open ($mailbox, $username, $password, $flags=0)
 open ($mailbox, $username, $password, $flags='')
 open ($fq_folder, $user, $pass, $flags='')
 open_port ($server, $port, $timeout=15)
 parse_msg_params (&$ref_info, $content, $is_disposition_param=False)
 parse_type_subtype (&$ref_info, $content)
 phpGW_quoted_printable_decode ($string)
 phpGW_quoted_printable_decode2 ($string)
 qprint ($message)
 qprint ($message)
 qprint ($message)
 read_and_load ($end)
 read_port ()
 read_port_glob ($end='.')
 renamemailbox ($stream_notused, $fq_folder_old, $fq_folder_new)
 renamemailbox ($stream, $mailbox_old, $mailbox_new)
 reopen ($stream, $mailbox, $flags=0)
 reopen ($stream_notused, $fq_folder, $flags='')
 reopen ($stream, $mailbox, $flags='')
 reopen ($stream, $mailbox, $flags="")
 reopen ($stream, $mailbox, $flags='')
 report_svr_data ($data_array, $calling_func_name='', $show_ok_msg=True)
 rfc_get_flag ($stream, $msg_num, $flags=0, $field_no=1)
 server_last_error ()
 server_last_error ()
 server_last_error ()
 server_last_error ()
 set_addcrlf ($value)
 set_error ($code, $msg, $desc)
 setflag_full ($stream_notused, $msg_list, $flags_str='', $flags)
 show_crlf ($data='')
 size_msg ($stream_notused, $msg_num)
 snarf_status_data ($status_raw_str='', $snarf_this='')
 sort ($stream, $criteria, $reverse='', $flags=0)
 sort ($folder='', $criteria=SORTDATE, $reverse=False, $options='')
 sort ($stream_notused='', $criteria=SORTARRIVAL, $reverse=False, $options='')
 sort ($stream_notused, $criteria=SORTARRIVAL, $reverse=False, $flags=0)
 sort ($stream, $criteria, $reverse='', $flags=0)
 sort ($stream, $criteria, $reverse='', $options='', $msg_info='')
 ssort_ascending ($a, $b)
 ssort_decending ($a, $b)
 ssort_prep ($a)
 status ($folder='', $options=SA_ALL)
 status ($stream_notused='', $fq_folder='', $options=SA_ALL)
 status ($stream_notused, $fq_folder='', $options=SA_ALL)
 status ($stream, $mailbox, $options)
 status ($stream, $mailbox, $options=0)
 status ($stream, $mailbox, $options)
 str_begins_with ($haystack, $needle='')
 sub_fetchstructure (&$ref_parent, $cur_debth=0)
 sub_get_structure (&$ref_info, $header_array)
 total ($field)
 type_int_to_str ($type_int)
 type_str_to_int ($type_str)
 uid_to_msgno ($stream_notused, $msg_num_uid)
 unset_unfilled_fetchstructure (&$ref_info)
 utf7_decode ($data)
 utf7_decode_string ($data_str)
 utf7_encode ($data, $called_by='not_provided')
 utf7_encode_string ($data_str)
 uudecode ($str)
 write_port ($str)

Public Attributes

 $addcrlf = TRUE
 $body_array = array()
 $body_array_msgnum = ''
 $boundary
 $bs_cur_debth = 0
 $bs_max_debth = 0
 $bs_rawstr = '##NOTHING##'
 $bsub = array()
 $db
 $debug_dcom = 0
 $debug_utf7 = 0
 $enable_utf7 = False
 $end_msg
 $env_rawstr = '##NOTHING##'
 $envelope_struct = '##NOTHING##'
 $err = array("code","msg","desc")
 $error
 $errorset = 0
 $folder
 $folder_list_changed = False
 $force_check
 $force_msg_uids = False
 $fs_rawstr = ''
 $got_structure
 $hdr_info_envelope
 $header_array = array()
 $header_array_msgnum = ''
 $header_glob = ''
 $header_glob_msgnum = ''
 $hsub = array()
 $imap_builtin = True
 $last_cmd_num = 0
 $last_five = array()
 $mailbox
 $mailbox_status = ''
 $msg_info = Array(Array())
 $msg_struct
 $msg_struct_stub = '##NOTHING##'
 $msg_structure = ''
 $msg_structure_msgnum = ''
 $my_fetchstruct = '##NOTHING##'
 $numparts
 $refto_msg_parent
 $server_last_error_str = ''
 $server_last_ok_response = ''
 $socket
 $sparts
 $start_msg
 $tempfile

Detailed Description

FOR SOCKETS implements IMAP module FOR SOCKETS, replaces php IMAP extension

Author:
Angles In around summer 2001, Mark Peeters "skeeter" emailed me "Angles" some files which were the skeleton of a sockets replacement for the php IMAP extensions. I believe skeeter wrote the base "network" class in the phpgwapi, and these files extended that class, an excellent approach. Skeeter covered the low level network functionality in his "network" class, but the original IMAP file was appeared to be templated from an incompleted NNTP sockets class that was itself perhaps a template. To the extent skeeters code still exitst in this file, skeeter is listed amoung the authors for that function. However, in early 2004 this file was substantially reimplemented from scratch by Angles. For example, the parsing of the IMAP server strings into php structures is original work by Angles and constitutes the majority of the concern of this class. In fact that is the primary goal of this class. Many of the other capabilities are standard data communications of a client server nature, such as a command to move mail as opposed as a request for a bodystructure which is then transformed into a known php structure.

part of mail Data Communications class mail_dcom Extends mail_dcom_base which Extends phpgw api class network This is a top level class mail_dcom is designed specifically POP3 CreateObject('email.mail_dcom');

Author:
Angles, Skeeter, Itzchak Rehberg, Joseph Engo LGPL

Definition at line 26 of file class.mail_dcom_imap.inc.php.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index