View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002524 | MMW v4 | Main Panel/Toolbars/Menus | public | 2006-06-22 10:41 | 2009-01-15 01:36 |
Reporter | jiri | Assigned To | |||
Priority | urgent | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.1 | ||||
Fixed in Version | 3.1 | ||||
Summary | 0002524: Add Send-to 'E-Mail' | ||||
Description | As suggested e.g. in http://www.mediamonkey.com/forum/viewtopic.php?t=9460, 'send to' menu entry should include also 'E-Mail' option. It would start a composition of a new mail and set selected tracks to be attachments. Technically, we have to find out whether there's some common interface for this in WinAPI (preferrably) or whether we have to communicate with Outlook. I'm sure there are some examples how to do this, maybe this one would help: http://www.techtricks.com/delphi/sendmail.php | ||||
Tags | No tags attached. | ||||
Fixed in build | 1012 | ||||
|
Implemented in revision 1410. |
|
Reopened in order to put this on another thread and set LPSTR to unicode. |
|
It is put on another thread (rev. 1411) and works nice. Unicode is left out because of 8-bit email standard. |
|
It returns me: 'Error sending mail (2).'. I have normally working Outlook installed. |
|
Yes, it was working nice for me, but suddenly I get the same error. The only I have found out is that this error occurs only when email sending is running on another thread, but I still haven't found out why :-( |
|
Increasing priority - I'd like to do something about it before MM 3.0 alpha is released (in the worst case disable the feature). |
|
Temporary disabled until we find out why it is not running on another thread. |
|
Ludek, summarize here what exactly is the problem (with code samples) so that others could review it and we could possibly ask in some forums. |
|
Yes, the code needed to enable this feature is: itm := AddItem( mnusend, '', -1, false); //See bug 2524 itm.Action := ASendToEmail; itm.Caption := _('E-Mail'); ... and the function for sending it is SendMailMAPI( Subject, '','', '', '', '', AttachmentsList); and SendMailMAPI_Var() in case of running in thread which is necessary so that a user would not have to wait for sending of all attachments. |
|
I have found out that there has to be something in a code that stopped the functionality because in build 1003 it is functional! I'm going to search SVN. |
|
I've found out that revision 1519 : Added CoInitialeEx() for each thread stopped this functionality. Assigned to Jiri for review because it is his revision. |
|
Fixed the code that previously stopped this feature and re-enabled this feature in revision 2071. |
|
Verified in 1213 using "The Bat!" E-Mail Client |