I'm creating a script in PHP, which's job is to backup an IMAP server to a MySQL database.
My question now is:
If an email has an attachment, is that attachment embedded in the email itself or is it a separate file on the server?
My reason for asking, is:
Can i save the header info in a MySQL db, and thereby extract the attachments in a given email, or do i have to download the attachments to the backup server?
Kind regards,
Frederik Krogh