On Wed, Oct 21, 2020 at 05:00:20PM +0800, Liu Yinsi wrote:
+def get_mail_data
- mail_body = File.read(TEST_REPORT).chomp
- data = "
+subject: os rootfs test report +to: user@emailaddress
That email address looks not valid.
yes, how about this:
EMAIL_TO_ADDRESS = 'lys'
to: #{EMAIL_TO_ADDRESS}
It may be more general to use $USER instead of 'lys'.
Thanks, Fengguang