summaryrefslogtreecommitdiffstats
path: root/scripts/patchtest-send-results
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/patchtest-send-results')
-rwxr-xr-xscripts/patchtest-send-results5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/patchtest-send-results b/scripts/patchtest-send-results
index 075b60d8f7..9fd24c9b95 100755
--- a/scripts/patchtest-send-results
+++ b/scripts/patchtest-send-results
@@ -81,9 +81,14 @@ if has_a_failed_test(testresult):
81 reply_contents = greeting + testresult + suggestions 81 reply_contents = greeting + testresult + suggestions
82 82
83 ses_client = boto3.client('ses', region_name='us-west-2') 83 ses_client = boto3.client('ses', region_name='us-west-2')
84
85 # Construct the headers for the email. We only want to reply
86 # directly to the tested patch, so make In-Reply-To and References
87 # the same value.
84 raw_data = 'From: ' + from_address + '\nTo: ' + reply_address + \ 88 raw_data = 'From: ' + from_address + '\nTo: ' + reply_address + \
85 '\nCC: ' + cc_address + '\nSubject:' + subject_line + \ 89 '\nCC: ' + cc_address + '\nSubject:' + subject_line + \
86 '\nIn-Reply-To:' + in_reply_to + \ 90 '\nIn-Reply-To:' + in_reply_to + \
91 '\nReferences:' + in_reply_to + \
87 '\nMIME-Version: 1.0" + \ 92 '\nMIME-Version: 1.0" + \
88 "\nContent-type: Multipart/Mixed;boundary="NextPart"\n\n--NextPart\nContent-Type: text/plain\n\n' + \ 93 "\nContent-type: Multipart/Mixed;boundary="NextPart"\n\n--NextPart\nContent-Type: text/plain\n\n' + \
89 reply_contents + '\n\n--NextPart' 94 reply_contents + '\n\n--NextPart'