1.1 --- a/imiptools/config.py Tue Dec 09 22:53:45 2014 +0100
1.2 +++ b/imiptools/config.py Tue Dec 09 23:20:18 2014 +0100
1.3 @@ -1,5 +1,9 @@
1.4 #!/usr/bin/env python
1.5
1.6 +# The public identity of the agent.
1.7 +
1.8 +MESSAGE_SENDER = "calendar@example.com"
1.9 +
1.10 # The location of the stored calendar information.
1.11
1.12 STORE_DIR = "/var/lib/imip-agent/store"
2.1 --- a/imiptools/mail.py Tue Dec 09 22:53:45 2014 +0100
2.2 +++ b/imiptools/mail.py Tue Dec 09 23:20:18 2014 +0100
2.3 @@ -1,12 +1,11 @@
2.4 #!/usr/bin/env python
2.5
2.6 +from imiptools.config import MESSAGE_SENDER
2.7 from email.mime.message import MIMEMessage
2.8 from email.mime.multipart import MIMEMultipart
2.9 from email.mime.text import MIMEText
2.10 from smtplib import LMTP, SMTP
2.11
2.12 -MESSAGE_SENDER = "imip-agent@example.com"
2.13 -
2.14 MESSAGE_SUBJECT = "Calendar system message"
2.15
2.16 MESSAGE_TEXT = """\