public static function fromFile($path)
    {
        /** @var self $message */
        $message = static::fromString(join(PHP_EOL, file($path, FILE_IGNORE_NEW_LINES)));
        return $message;
    }
public static function fromFile($path)
    {
        /** @var self $message */
        $message = static::fromString(join(PHP_EOL, file($path, FILE_IGNORE_NEW_LINES)));
        return $message;
    }
public static function fromFile ( $ path ) { /** @var self $message */ $ message = static :: fromString ( join ( PHP_EOL , file ( $ path , FILE_IGNORE_NEW_LINES ) ) ) ; return $ message ; }
Create mail object from file

@param string $path Mail file path
@return self
Create mail object from file