JIRA: BOTTLENECKS-29
[bottlenecks.git] / vstf / vstf / controller / reporters / mail / mail.py
old mode 100755 (executable)
new mode 100644 (file)
index 42d60b1..6792ad9
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
 import smtplib
 import logging
 import os
@@ -98,7 +107,7 @@ class Mail(object):
 if __name__ == "__main__":
     m = Mail()
     m.attach_addr(["vstf_server@vstf.com"], m.FROM)
-    m.attach_addr(["wangli11@huawei.com"], m.TO)
+    m.attach_addr(["test@test.com"], m.TO)
     context = """
         <!DOCTYPE html>
         <html>