Quantcast
Channel: IMAP: Getting emails from gmail - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Ben for IMAP: Getting emails from gmail

$
0
0

Use this to get all mail:

$server = '{imap.gmail.com:993/ssl}[Gmail]/All Mail';

We went round and round on this awhile; see here:

https://stackoverflow.com/a/8178514/776695

As stated here, use imap_list to see which individual folders are available


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>