The email service will add the from field by itself.
Signed-off-by: Cao Xueliang caoxl78320@163.com --- lib/mail_bisect_result.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mail_bisect_result.rb b/lib/mail_bisect_result.rb index 1e85824..2799ce2 100644 --- a/lib/mail_bisect_result.rb +++ b/lib/mail_bisect_result.rb @@ -37,7 +37,7 @@ class MailBisectResult https://gitee.com/openeuler/compass-ci BODY to = 'caoxl@crystal.ci' - @hash = { 'to' => to, 'body' => body, 'subject' => subject, 'from' => 'compass-ci@outlook.com' } + @hash = { 'to' => to, 'body' => body, 'subject' => subject } # @hash = { 'to' => @git_commit.author_email, 'body' => body, 'subject' => subject } end
Ignore this patch.
Thanks, Xueliang
On Fri, Nov 27, 2020 at 11:13:19AM +0800, Cao Xueliang wrote:
The email service will add the from field by itself.
Signed-off-by: Cao Xueliang caoxl78320@163.com
lib/mail_bisect_result.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mail_bisect_result.rb b/lib/mail_bisect_result.rb index 1e85824..2799ce2 100644 --- a/lib/mail_bisect_result.rb +++ b/lib/mail_bisect_result.rb @@ -37,7 +37,7 @@ class MailBisectResult https://gitee.com/openeuler/compass-ci BODY to = 'caoxl@crystal.ci'
- @hash = { 'to' => to, 'body' => body, 'subject' => subject, 'from' => 'compass-ci@outlook.com' }
- @hash = { 'to' => to, 'body' => body, 'subject' => subject } # @hash = { 'to' => @git_commit.author_email, 'body' => body, 'subject' => subject } end
-- 2.23.0