GoLang imap_expunge

request it (131)
GoLang replacement for PHP's imap_expunge [edit | history]



Do you know a GoLang replacement for PHP's imap_expunge? Write it!

PHP imap_expunge

PHP original manual for imap_expunge [ show | php.net ]

imap_expunge

(PHP 4, PHP 5, PHP 7)

imap_expungeDelete all messages marked for deletion

Description

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().

Return Values

Returns TRUE.