PHP 프로그래밍

본문 바로가기
사이트 내 전체검색


Web Programming >> PHP Programming
[목차]
제29장 IMAP을 이용한 웹메일 프로그래밍

    1. PHP의 IMAP 함수들

 

PHP에서 제공되는 IMAP함수는 55가지에 이르며 다음에 설명된 기본함수에 대한 내용은 비슷한 함수를 제외한 꼭 필요한 함수들에 대하여 설명한다.

    imap_append - Append a string message to a specified mailbox

    imap_base64 - Decode BASE64 encoded text

    imap_body - Read the message body

    imap_check - Check current mailbox

    imap_close - Close an IMAP stream

    imap_createmailbox - Create a new mailbox

    imap_delete - Mark a messge for deletion from current mailbox

    imap_deletemailbox - Delete a mailbox

    imap_expunge - Delete all messages marked for deletion

    imap_fetchbody - Fetch a particular section of the body of the message

    imap_fetchstructure - Read the structure of a particular message

    imap_header - Read the header of the message

    imap_rfc822_parse_headers - Parse mail headers from a string

    imap_headers - Returns headers for all messages in a mailbox

    imap_listmailbox - Read the list of mailboxes

    imap_getmailboxes - Read the list of mailboxes, returning detailed information on each one

    imap_listsubscribed - List all the subscribed mailboxes

    imap_getsubscribed - List all the subscribed mailboxes

    imap_mail_copy - Copy specified messages to a mailbox

    imap_mail_move - Move specified messages to a mailbox

    imap_num_msg - Gives the number of messages in the current mailbox

    imap_num_recent - Gives the number of recent messages in current mailbox

    imap_open - Open an IMAP stream to a mailbox

    imap_ping - Check if the IMAP stream is still active

    imap_renamemailbox - Rename an old mailbox to new mailbox

    imap_reopen - Reopen IMAP stream to new mailbox

    imap_subscribe - Subscribe to a mailbox

    imap_undelete - Unmark the message which is marked deleted

    imap_unsubscribe - Unsubscribe from a mailbox

    imap_qprint - Convert a quoted-printable string to an 8 bit string

    imap_8bit - Convert an 8bit string to a quoted-printable string

    imap_binary - Convert an 8bit string to a base64 string

    imap_scanmailbox - Read the list of mailboxes, takes a string to search for in the text of the mailbox

    imap_mailboxmsginfo - Get information about the current mailbox

    imap_rfc822_write_address - Returns a properly formatted email address given the mailbox, host, and personal info.

    imap_rfc822_parse_adrlist - Parses an address string

    imap_setflag_full - Sets flags on messages

    imap_clearflag_full - Clears flags on messages

    imap_sort -Sort an array of message headers

    imap_fetchheader - Returns header for a message

    imap_uid - This function returns the UID for the given message sequence number

    imap_msgno - This function returns the message sequence number for the given UID

    imap_search - This function returns an array of messages matching the given search criteria

    imap_last_error - This function returns the last IMAP error (if any) that occurred during this page request

    imap_errors - This function returns all of the IMAP errors (if any) that have occurred during this page request or since the error stack was reset.

    imap_alerts - This function returns all IMAP alert messages (if any) that have occurred during this page request or since the alert stack was reset

    imap_status - This function returns status information on a mailbox other than the current one

    imap_utf7_decode - Decodes a modified UTF-7 encoded string.

    imap_utf7_encode - Converts 8bit data to modified UTF-7 text.

    imap_utf8 - Converts text to UTF8

    imap_fetch_overview - Read an overview of the information in the headers of the given message

    imap_mime_header_decode - Decode MIME header elements

    imap_mail_compose - Create a MIME message based on given envelope and body sections

    imap_mail - Send an email message

     

 

[목차]

개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

TEL. 063-469-4551 FAX. 063-469-4560 전북 군산시 대학로 558
군산대학교 컴퓨터정보공학과

Copyright © www.leelab.co.kr. All rights reserved.