We use hyphens in all the other config settings.
Signed-off-by: W. Trevor King <wking@tremily.us>
('from', 'user@rss2email.invalid'),
# Transfer-Encoding. For local mailing it is safe and
# convient to use 8bit.
- ('use_8bit', str(True)),
+ ('use-8bit', str(False)),
# True: Only use the 'from' address.
# False: Use the email address specified by the feed, when possible.
('force-from', str(False)),
message['From'] = _formataddr((sender_name, sender_addr))
message['To'] = _formataddr((recipient_name, recipient_addr))
message['Subject'] = _Header(subject, subject_encoding)
- if config.getboolean(section, 'use_8bit'):
+ if config.getboolean(section, 'use-8bit'):
message['Content-Transfer-Encoding'] = '8bit'
message.set_payload(body)
if extra_headers: