[TRUNK][WISH] bin/tools/misc.py def email_send, add parameter for attachment mime type for ICS file
Bug #675617 reported by
Serge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
IN bin/tools/misc.py
def email_send
if attach:
for (fname,fcontent) in attach:
part = MIMEBase(
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
summary: |
- [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 |
To post a comment you must log in.
Hello Serge,
This is a sensible suggestion, however we can't introduce this change at this stage of the preparation of the final v6.0 release (because it requires a change of the API of email_send since the attachments would need to be passed differently)
Your workaround is to implement a variant of email_send indeed.
We'll keep this suggestion in mind for post-v6 release, thanks!