summaryrefslogtreecommitdiff
path: root/bin/tools/import_email.py
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@tinyerp.com>2008-11-03 19:27:16 +0100
committerChristophe Simonis <christophe@tinyerp.com>2008-11-03 19:27:16 +0100
commite404e54e38c3771b0b103a1d0f94cc157ff9987a (patch)
tree3fd0ef8eed83718d6e151f18dd290daf80fcc863 /bin/tools/import_email.py
parenta5c7360280d8cb3d2a31bc92a6adce87e76ef31e (diff)
passing in GPL-3
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
Diffstat (limited to 'bin/tools/import_email.py')
-rw-r--r--bin/tools/import_email.py35
1 files changed, 14 insertions, 21 deletions
diff --git a/bin/tools/import_email.py b/bin/tools/import_email.py
index 0803c482045..cd8c470f96d 100644
--- a/bin/tools/import_email.py
+++ b/bin/tools/import_email.py
@@ -1,31 +1,24 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
-# Copyright (c) 2004-2008 Tiny SPRL (http://tiny.be) All Rights Reserved.
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
#
-# $Id$
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-###############################################################################
+##############################################################################
import os, sys
import re
import smtplib