Spl4x
Results
2
comments of
Spl4x
@Slamdunk In most cases both functions return a valid value. It would be ideal for the getBodyHtml() function to return null if it is not HTML, if so you could...
In another library (php-imap) they have 2 functions that solve this problem: Check if a text body exists `$status = $message->hasTextBody();` Check if an html body exists `$status = $message->hasHTMLBody();`...