delete_all_messages_via_pop3

delete_all_messages_via_pop3(); - delete the entire message via POP3

After testing, the function returns the result of its work to the script :
  • true – successfully deleted
  • true – deleted failed

    PHP example: webpage->".basename(__FILE__)."
    "; //2 echo "2.Let's set the pop3 configuration:"; echo $mail->pop3_connect("pop.mail.ru", 995, "arna.pervak", "msnijwdx")." n"; //3 echo "3.We will receive a letter from 0:"; echo $mail->get_message_from_by_number_via_pop3(0)." n"; //4 echo "4.Get the subject 0 of the letter:"; echo $mail->get_message_subject_by_number_via_pop3(0)." n"; //five echo "5.Get date 0 of the letter:"; echo $mail->get_message_date_by_number_via_pop3(0)." n"; //6 echo "6.Get the body 0 of the letter:"; echo strlen($mail->get_message_body_by_number_via_pop3(0, false))." n"; //7 echo "7.Get the number of letters:"; echo $mail->get_message_count_via_pop3()." n"; //8 echo "8.Delete 1 letter:"; echo $mail->delete_message_by_number_via_pop3(2)." n"; //nine echo "9.Get the number of letters:"; echo $mail->get_message_count_via_pop3()." n"; //ten echo "10.Delete all emails:"; echo $mail->delete_all_messages_via_pop3(2)." n"; //eleven echo "11 Get the number of emails:"; echo $mail->get_message_count_via_pop3()." n"; //end echo "

    "; //Quit $app->quit(); ?>
    Python example: C# example: Java Script example: