- data = "
- subject: os rootfs test report
- to: #{EMAIL_ADDRESS}
- body: '#{message}'"
- %x(curl -X POST 'localhost:11311/send_mail_yaml' -d "#{data}")
good Thanks, Yinsi
^^^ the port is fixed? Thanks, Shenwei
+end
def write_report(report_all) file = File.open(LOG, 'a') log = Logger.new(file, 'weekly') -- 2.23.0