O
O
Optimus2016-07-21 23:00:21
PHP
Optimus, 2016-07-21 23:00:21

How can a script log in to mail?

PHPMailer, SwiftMailer send mail, the reverse task is to log in using the required protocol in order to access the list of letters from the mailbox. Interested in basic services - Yandex, Mile, Gmail
Maybe there are some libraries? What are they called, what keywords to search for them?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey P, 2016-02-20
@stamdyscias

try like this

(function dec (num) { 
  console.log(num); 
  if (num !== 0) { 
    setTimeout(function () {
     dec(--num); 
    }, 1000);
  } 
})(10);

S
stamdyscias, 2016-02-20
@stamdyscias

N
Nazar Mokrinsky, 2016-07-22
Pyan @marrk2

PHP itself already has the required functionality: https://secure.php.net/manual/en/book.imap.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question