diff options
author | pdp8 <pdp8@pdp8.info> | 2024-07-24 11:36:07 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2024-07-24 11:36:07 +0200 |
commit | 3b26e6ed999e3ebf913391d566cbf9459243c8df (patch) | |
tree | 436d3730d4d3cc4bd59dac94b6ea11fc58d4c2ce /mail.rb | |
parent | 17da4aec12049d9dd4f599d71d7945fc7895472b (diff) |
sync pictures from borg mount
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}" |