1.1 --- a/imiptools/mail.py Wed Mar 25 18:23:37 2015 +0100
1.2 +++ b/imiptools/mail.py Thu Mar 26 00:27:06 2015 +0100
1.3 @@ -53,6 +53,10 @@
1.4 using the given 'sender' identity if indicated, indicating an
1.5 'outgoing_bcc' identity if indicated, delivering to a local mail system
1.6 using LMTP if 'lmtp_socket' is provided.
1.7 +
1.8 + The 'outgoing_bcc' argument is required when sending on behalf of a user
1.9 + from the calendar@domain address, since this will not be detected as a
1.10 + valid participant and handled using the outgoing transport.
1.11 """
1.12
1.13 if lmtp_socket:
2.1 --- a/imipweb/handler.py Wed Mar 25 18:23:37 2015 +0100
2.2 +++ b/imipweb/handler.py Thu Mar 26 00:27:06 2015 +0100
2.3 @@ -93,6 +93,9 @@
2.4 make_freebusy(freebusy, uid, self.user, user_attr)
2.5 ]))
2.6
2.7 + # Explicitly specify the outgoing BCC recipient since we are sending as
2.8 + # the generic calendar user.
2.9 +
2.10 message = self.messenger.make_outgoing_message(parts, recipients, outgoing_bcc=sender)
2.11 self.messenger.sendmail(recipients, message.as_string(), outgoing_bcc=sender)
2.12