<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >IMAP, POP3 ºi NNTP - funcþii</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual PHP" HREF="index.html"><LINK REL="UP" TITLE="Documentaþia funcþiilor" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="read_exif_data" HREF="function.read-exif-data.html"><LINK REL="NEXT" TITLE="imap_8bit" HREF="function.imap-8bit.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.read-exif-data.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imap-8bit.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.imap" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XLIII. IMAP, POP3 ºi NNTP - funcþii</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN41523" ></A ><P > Pentru ca aceste funcþii sã poatã fi folosite, trebuie sã compilaþi PHP cu directiva <VAR CLASS="option" >--with-imap</VAR >. Este nevoie sã fie instalatã biblioteca c-client. Descãrcaþi ultima versiune de la <A HREF="ftp://ftp.cac.washington.edu/imap/" TARGET="_top" >ftp://ftp.cac.washington.edu/imap/</A > ºi compilaþi-o. Apoi copiaþi fiºierul <TT CLASS="filename" >c-client/c-client.a</TT > în <TT CLASS="filename" >/usr/local/lib/libc-client.a</TT > ºi copiaþi <TT CLASS="filename" >c-client/rfc822.h</TT >, <TT CLASS="filename" >mail.h</TT > ºi <TT CLASS="filename" >linkage.h</TT > în <TT CLASS="filename" >/usr/local/include</TT > sau în alt director din calea cãtre fiºiere incluse. </P ><P > De notat cã aceste funcþii, in ciuda numelor pe care le au, nu sunt limitate doar la protocolul <ACRONYM CLASS="acronym" >IMAP</ACRONYM >. Biblioteca c-client folositã de ele suportã, de asemenea, metode pentru acces <ACRONYM CLASS="acronym" >NNTP</ACRONYM >, <ACRONYM CLASS="acronym" >POP3</ACRONYM > ºi la o cãsuþã poºtalã localã. </P ><P > Acest document nu îºi propune sã intre în detalii pentru toate subiectele atinse de aceste funcþii. Mai multe informaþii puteþi citi în documentaþia surselor bibliotecii c-client (<TT CLASS="filename" >docs/internal.txt</TT >) precum ºi în urmãtoarele documente RFC: <P ></P ><UL ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfcrfc2821.html" TARGET="_top" >RFC2821</A >: Simple Mail Transfer Protocol (SMTP). </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfcrfc2822.html" TARGET="_top" >RFC2822</A >: Standard for ARPA internet text messages. </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfcrfc2060.html" TARGET="_top" >RFC2060</A >: Internet Message Access Protocol (IMAP) Version 4rev1. </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfcrfc1939.html" TARGET="_top" >RFC1939</A >: Post Office Protocol Version 3 (POP3). </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfcrfc977.html" TARGET="_top" >RFC977</A >: Network News Transfer Protocol (NNTP). </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfcrfc2076.html" TARGET="_top" >RFC2076</A >: Common Internet Message Headers. </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfcrfc2045.html" TARGET="_top" >RFC2045</A >, <A HREF="http://www.faqs.org/rfcs/rfcrfc2046.html" TARGET="_top" >RFC2046</A >, <A HREF="http://www.faqs.org/rfcs/rfcrfc2047.html" TARGET="_top" >RFC2047</A >, <A HREF="http://www.faqs.org/rfcs/rfcrfc2048.html" TARGET="_top" >RFC2048</A > ºi <A HREF="http://www.faqs.org/rfcs/rfcrfc2049.html" TARGET="_top" >RFC2049</A >: Multipurpose Internet Mail Extensions (MIME). </P ></LI ></UL > O viziune mai detaliatã puteþi gãsi ºi în cãrþile <A HREF="http://www.oreilly.com/catalog/progintemail/noframes.html" TARGET="_top" >Programming Internet Email</A > de David Wood ºi <A HREF="http://www.oreilly.com/catalog/mimap/noframes.html" TARGET="_top" >Managing IMAP</A > de Dianna Mullet & Kevin Mullet. </P ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Cuprins</B ></DT ><DT ><A HREF="function.imap-8bit.html" >imap_8bit</A > -- Converteºte un ºir de caractere pe 8 biþi într-un ºir de caractere tipãribil </DT ><DT ><A HREF="function.imap-alerts.html" >imap_alerts</A > -- Aceastã funcþie returneazã toate mesajele de avertizare (dacã existã) care au apãrut pe parcursul cererii paginii curente, sau din momentul în care stiva de mesaje a fost resetatã </DT ><DT ><A HREF="function.imap-append.html" >imap_append</A > -- Append a string message to a specified mailbox </DT ><DT ><A HREF="function.imap-base64.html" >imap_base64</A > -- Decode BASE64 encoded text</DT ><DT ><A HREF="function.imap-binary.html" >imap_binary</A > -- Convert an 8bit string to a base64 string </DT ><DT ><A HREF="function.imap-body.html" >imap_body</A > -- Read the message body</DT ><DT ><A HREF="function.imap-bodystruct.html" >imap_bodystruct</A > -- Read the structure of a specified body section of a specific message </DT ><DT ><A HREF="function.imap-check.html" >imap_check</A > -- Check current mailbox</DT ><DT ><A HREF="function.imap-clearflag-full.html" >imap_clearflag_full</A > -- Clears flags on messages</DT ><DT ><A HREF="function.imap-close.html" >imap_close</A > -- Close an IMAP stream</DT ><DT ><A HREF="function.imap-createmailbox.html" >imap_createmailbox</A > -- Create a new mailbox</DT ><DT ><A HREF="function.imap-delete.html" >imap_delete</A > -- Mark a messge for deletion from current mailbox </DT ><DT ><A HREF="function.imap-deletemailbox.html" >imap_deletemailbox</A > -- Delete a mailbox</DT ><DT ><A HREF="function.imap-errors.html" >imap_errors</A > -- This function returns all of the IMAP errors (if any) that have occurred during this page request or since the error stack was reset. </DT ><DT ><A HREF="function.imap-expunge.html" >imap_expunge</A > -- Delete all messages marked for deletion</DT ><DT ><A HREF="function.imap-fetch-overview.html" >imap_fetch_overview</A > -- Read an overview of the information in the headers of the given message </DT ><DT ><A HREF="function.imap-fetchbody.html" >imap_fetchbody</A > -- Fetch a particular section of the body of the message </DT ><DT ><A HREF="function.imap-fetchheader.html" >imap_fetchheader</A > -- Returneazã header for a message</DT ><DT ><A HREF="function.imap-fetchstructure.html" >imap_fetchstructure</A > -- Read the structure of a particular message </DT ><DT ><A HREF="function.imap-get-quota.html" >imap_get_quota</A > -- Retrieve the quota level settings, and usage statics per mailbox </DT ><DT ><A HREF="function.imap-get-quotaroot.html" >imap_get_quotaroot</A > -- Retrieve the quota settings per user </DT ><DT ><A HREF="function.imap-getacl.html" >imap_getacl</A > -- Gets the ACL for a given mailbox </DT ><DT ><A HREF="function.imap-getmailboxes.html" >imap_getmailboxes</A > -- Read the list of mailboxes, returning detailed information on each one </DT ><DT ><A HREF="function.imap-getsubscribed.html" >imap_getsubscribed</A > -- List all the subscribed mailboxes</DT ><DT ><A HREF="function.imap-header.html" >imap_header</A > -- Read the header of the message</DT ><DT ><A HREF="function.imap-headerinfo.html" >imap_headerinfo</A > -- Read the header of the message</DT ><DT ><A HREF="function.imap-headers.html" >imap_headers</A > -- Returneazã headers for all messages in a mailbox </DT ><DT ><A HREF="function.imap-last-error.html" >imap_last_error</A > -- This function returns the last IMAP error (if any) that occurred during this page request </DT ><DT ><A HREF="function.imap-list.html" >imap_list</A > -- Read the list of mailboxes</DT ><DT ><A HREF="function.imap-listmailbox.html" >imap_listmailbox</A > -- Read the list of mailboxes</DT ><DT ><A HREF="function.imap-listscan.html" >imap_listscan</A > -- Read the list of mailboxes, takes a string to search for in the text of the mailbox </DT ><DT ><A HREF="function.imap-listsubscribed.html" >imap_listsubscribed</A > -- List all the subscribed mailboxes</DT ><DT ><A HREF="function.imap-lsub.html" >imap_lsub</A > -- List all the subscribed mailboxes</DT ><DT ><A HREF="function.imap-mail-compose.html" >imap_mail_compose</A > -- Create a MIME message based on given envelope and body sections </DT ><DT ><A HREF="function.imap-mail-copy.html" >imap_mail_copy</A > -- Copy specified messages to a mailbox</DT ><DT ><A HREF="function.imap-mail-move.html" >imap_mail_move</A > -- Move specified messages to a mailbox</DT ><DT ><A HREF="function.imap-mail.html" >imap_mail</A > -- Send an email message </DT ><DT ><A HREF="function.imap-mailboxmsginfo.html" >imap_mailboxmsginfo</A > -- Get information about the current mailbox</DT ><DT ><A HREF="function.imap-mime-header-decode.html" >imap_mime_header_decode</A > -- Decode MIME header elements</DT ><DT ><A HREF="function.imap-msgno.html" >imap_msgno</A > -- This function returns the message sequence number for the given UID </DT ><DT ><A HREF="function.imap-num-msg.html" >imap_num_msg</A > -- Gives the number of messages in the current mailbox </DT ><DT ><A HREF="function.imap-num-recent.html" >imap_num_recent</A > -- Gives the number of recent messages in current mailbox</DT ><DT ><A HREF="function.imap-open.html" >imap_open</A > -- Open an IMAP stream to a mailbox</DT ><DT ><A HREF="function.imap-ping.html" >imap_ping</A > -- Check if the IMAP stream is still active</DT ><DT ><A HREF="function.imap-qprint.html" >imap_qprint</A > -- Convert a quoted-printable string to an 8 bit string</DT ><DT ><A HREF="function.imap-renamemailbox.html" >imap_renamemailbox</A > -- Rename an old mailbox to new mailbox</DT ><DT ><A HREF="function.imap-reopen.html" >imap_reopen</A > -- Reopen IMAP stream to new mailbox</DT ><DT ><A HREF="function.imap-rfc822-parse-adrlist.html" >imap_rfc822_parse_adrlist</A > -- Parses an address string</DT ><DT ><A HREF="function.imap-rfc822-parse-headers.html" >imap_rfc822_parse_headers</A > -- Parse mail headers from a string</DT ><DT ><A HREF="function.imap-rfc822-write-address.html" >imap_rfc822_write_address</A > -- Returneazã a properly formatted email address given the mailbox, host, and personal info. </DT ><DT ><A HREF="function.imap-scanmailbox.html" >imap_scanmailbox</A > -- Read the list of mailboxes, takes a string to search for in the text of the mailbox </DT ><DT ><A HREF="function.imap-search.html" >imap_search</A > -- This function returns an array of messages matching the given search criteria </DT ><DT ><A HREF="function.imap-set-quota.html" >imap_set_quota</A > -- Sets a quota for a given mailbox</DT ><DT ><A HREF="function.imap-setacl.html" >imap_setacl</A > -- Sets the ACL for a giving mailbox </DT ><DT ><A HREF="function.imap-setflag-full.html" >imap_setflag_full</A > -- Sets flags on messages</DT ><DT ><A HREF="function.imap-sort.html" >imap_sort</A > -- Sort an array of message headers</DT ><DT ><A HREF="function.imap-status.html" >imap_status</A > -- This function returns status information on a mailbox other than the current one </DT ><DT ><A HREF="function.imap-subscribe.html" >imap_subscribe</A > -- Subscribe to a mailbox</DT ><DT ><A HREF="function.imap-thread.html" >imap_thread</A > -- Return threaded by REFERENCES tree </DT ><DT ><A HREF="function.imap-timeout.html" >imap_timeout</A > -- Set or fetch imap timeout </DT ><DT ><A HREF="function.imap-uid.html" >imap_uid</A > -- This function returns the UID for the given message sequence number </DT ><DT ><A HREF="function.imap-undelete.html" >imap_undelete</A > -- Unmark the message which is marked deleted </DT ><DT ><A HREF="function.imap-unsubscribe.html" >imap_unsubscribe</A > -- Unsubscribe from a mailbox</DT ><DT ><A HREF="function.imap-utf7-decode.html" >imap_utf7_decode</A > -- Decodes a modified UTF-7 encoded string. </DT ><DT ><A HREF="function.imap-utf7-encode.html" >imap_utf7_encode</A > -- Converts 8bit data to modified UTF-7 text. </DT ><DT ><A HREF="function.imap-utf8.html" >imap_utf8</A > -- Converts text to UTF8 </DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.read-exif-data.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Acasã</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imap-8bit.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >read_exif_data</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Sus</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imap_8bit</TD ></TR ></TABLE ></DIV ></BODY ></HTML >