c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04357
[Bug 675617] [NEW] [TRUNK][WISH] bin/tools/misc.py def email_send, add parameter for attachment mime type for ICS file
Public bug reported:
IN bin/tools/misc.py
def email_send
if attach:
msg.attach(email_text)
for (fname,fcontent) in attach:
part = MIMEBase('application', "octet-stream")
Add parameter for 'application' and 'octet-stream'
Why : we need send ics file by email, but with application and octet-
stream, mail program don't detect is a calendar file, for the moment i
create a new function with 'text','calendar', with this modification,
gmail automatically detect the attachment is a calendar event and ask to
add to google calendar.
Thank
** Affects: openobject-server
Importance: Undecided
Status: New
** Summary changed:
- [WISH] bin/tools/misc.py def email_send, add parameter for attachment mime type for ICS file
+ [TRUNK][WISH] bin/tools/misc.py def email_send, add parameter for attachment mime type for ICS file
--
[TRUNK][WISH] bin/tools/misc.py def email_send, add parameter for attachment mime type for ICS file
https://bugs.launchpad.net/bugs/675617
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: New
Bug description:
IN bin/tools/misc.py
def email_send
if attach:
msg.attach(email_text)
for (fname,fcontent) in attach:
part = MIMEBase('application', "octet-stream")
Add parameter for 'application' and 'octet-stream'
Why : we need send ics file by email, but with application and octet-stream, mail program don't detect is a calendar file, for the moment i create a new function with 'text','calendar', with this modification, gmail automatically detect the attachment is a calendar event and ask to add to google calendar.
Thank
Follow ups
References