View Issue Details

IDProjectCategoryView StatusLast Update
0002524MMW v4Main Panel/Toolbars/Menuspublic2009-01-15 01:36
Reporterjiri Assigned To 
PriorityurgentSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version3.1 
Fixed in Version3.1 
Summary0002524: Add Send-to 'E-Mail'
DescriptionAs 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
TagsNo tags attached.
Fixed in build1012

Relationships

related to 0005202 closedLudek Send To > Email fails (regression) 

Activities

Ludek

2006-08-05 23:38

developer   ~0007678

Implemented in revision 1410.

Ludek

2006-08-06 10:54

developer   ~0007680

Reopened in order to put this on another thread and set LPSTR to unicode.

Ludek

2006-08-08 10:14

developer   ~0007692

Last edited: 2006-08-08 10:16

It is put on another thread (rev. 1411) and works nice. Unicode is left out because of 8-bit email standard.

jiri

2006-09-13 21:42

administrator   ~0007892

It returns me: 'Error sending mail (2).'. I have normally working Outlook installed.

Ludek

2006-10-16 19:36

developer   ~0008016

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 :-(

jiri

2006-12-14 17:09

administrator   ~0008297

Increasing priority - I'd like to do something about it before MM 3.0 alpha is released (in the worst case disable the feature).

Ludek

2006-12-20 13:21

developer   ~0008324

Temporary disabled until we find out why it is not running on another thread.

jiri

2006-12-23 16:58

administrator   ~0008350

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.

Ludek

2006-12-28 20:42

developer   ~0008365

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.

Ludek

2007-01-01 23:12

developer   ~0008368

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.

Ludek

2007-01-08 22:57

developer   ~0008392

Last edited: 2007-01-08 22:58

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.

Ludek

2007-01-09 11:56

developer   ~0008396

Fixed the code that previously stopped this feature and re-enabled this feature in revision 2071.

peke

2009-01-15 01:35

developer   ~0016218

Verified in 1213 using "The Bat!" E-Mail Client