From 3b26e6ed999e3ebf913391d566cbf9459243c8df Mon Sep 17 00:00:00 2001 From: pdp8 Date: Wed, 24 Jul 2024 11:36:07 +0200 Subject: sync pictures from borg mount --- mail.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mail.rb') diff --git a/mail.rb b/mail.rb index 1aac68c..e937710 100755 --- a/mail.rb +++ b/mail.rb @@ -1,5 +1,4 @@ #!/usr/bin/env ruby - mailfile = if ARGV[1] and ARGV[1] == 'publish' File.join(__dir__, 'mail', 'emails') else @@ -18,11 +17,11 @@ type = if nr_tracks == 1 end content = ["From: info@pdp8.info Subject: [pdp8] #{title.gsub('_', ' ')} #{type} -Content-Type: text/plain +Content-Type: text/plain; charset='utf-8' List-Unsubscribe: "] content << '' -content << "the new pdp8 #{type} \"#{title.gsub('_', ' ')}\" is online:" -# content << File.read('README').chomp +# content << "the new pdp8 #{type} \"#{title.gsub('_', ' ')}\" is online:" +content << File.read('README').chomp content << '' content << "web: https://pdp8.info/music.html\##{date}" content << "internet archive: https://archive.org/details/pdp8_#{title}" -- cgit v1.2.3