w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • PHP
  • Function
  • Mail
  • Mail
  • IMAP

imap_expunge

(PHP 4, PHP 5, PHP 7)
Delete all messages marked for deletion
bool imap_expunge ( resource $imap_stream )

Deletes all the messages marked for deletion by imap_delete(), imap_mail_move(), or imap_setflag_full().

Parameters:
imap_stream

An IMAP stream returned by imap_open().

Returns:

Returns TRUE.

Links:
  • http://php.net/manual/en/function.imap-expunge.php
doc_php
doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
expunge expunge() Instance Public methods Sends a EXPUNGE command to permanently remove from the currently selected mailbox all messages that ha
imaplib.IMAP4.expunge() IMAP4.expunge() Permanently remove deleted items from selected mailbox. Generates an EXPUNGE response for each deleted message. Returned data cont
imap_unsubscribe (PHP 4, PHP 5, PHP 7) Unsubscribe from a mailbox bool imap_unsubscribe ( resource $imap_stream, st
imap_fetchmime (PHP 5, PHP 7 >= 5.3.6) Fetch MIME headers for a particular section of the message string imap_
imap_thread (PHP 4 >= 4.0.7, PHP 5, PHP 7) Returns a tree of threaded message array imap_thread ( resource


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions