diff options
Diffstat (limited to 'mail.rb')
-rwxr-xr-x | mail.rb | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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: <mailto: info@pdp8.info?subject=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}" |