def build_string(self, header):
        lines = [header]
        for k, v in self.extensions.items():
            if v:
                try:
                    value_str = str(v)
                except ValueError:
                    pass
                else:
                    lines.append(' '.join((k, value_str)))
            else:
                lines.append(k)
        return '\r\n'.join(lines)


# vim:et:fdm=marker:sts=4:sw=4:ts=4
Converts the object into a string that can be sent with the response
dataset/ETHPy150Open slimta/python-slimta/slimta/smtp/extensions.py/Extensions.build_string