I'm retrieving emails from Gmail using PHP and IMAP; however, some emails don't have a messageid. Aren't all messages supposed to have a messageid?
I need a unique id for reference so i'm not sure how else to keep track of emails without it.
Am i doing something wrong?
For example here is an email header i get
[date] => Sun, 06 Nov 2011 21:21:56 -0500 [subject] => Daylight Saving Time? Chili's Saving Time! [to] => -------@gmail.com [message_id] => [from] => ChilisCorp@---.com [sender] => ChilisCorp@----.com [reply_toaddress] => ChilisCorpeclubsupport@---.com [size] => 14385 [msgno] => 156 [status] => Unread