msg['From'] = fromhdr
msg_as_string = msg.as_string()
-#DEPRECATED if QP_REQUIRED:
-#DEPRECATED ins, outs = SIO(msg_as_string), SIO()
-#DEPRECATED mimify.mimify(ins, outs)
-#DEPRECATED msg_as_string = outs.getvalue()
if SMTP_SEND:
if not smtpserver:
warn = sys.stderr
-if QP_REQUIRED:
- print >>warn, "QP_REQUIRED has been deprecated in rss2email."
-
socket_errors = []
for e in ['error', 'gaierror']:
if hasattr(socket, e): socket_errors.append(getattr(socket, e))