The PycURL homepage lists SMTP among the supported protocols, but SMTP support is not usable without being able to "setopt" these two options.