I have a question. I am extracting data from email messages using PHP v 5.6.25 using imap.
I know I can extract the header information to determine the content type - i.e.
Content-Type: text/html or Content-Type: text/html.
But I am a bit confused on a point here. Does it return the content-type for each email ??
I know from the PHP manual that it uses the url, but this is for a specific
email address i.e. email@example.com.
Can you use the specific email address of the sender for the url ??
The data is contained within a table - it may or may not have html styles i.e. font-size etc. but in both cases within a table. The table structures are a bit different so I need to determine which is which for extracting the data.
The reason I am asking is the messages can be of two flavors -
1) Message has styling inbedded in table
2) Message does not have styling inbedded in table
ANy help would be appericiated...thank you