Hi, I have built a script to check many email boxes each 10 minutes and then alert for new messages, sending the alert message with only the From and Subject information to a device.
The script works very well (I use MySQL too).
The thing is that when an email has a large attachment, the script takes more time to check every user's mailbox.
Is there any way to skip the attachment download since I am only interested about FROM and SUBJECT ???
(I use IMAP functions like imap_open, imap_header, imap_fetchheader, etc.)
Thank you in advance!