View Issue Details

IDProjectCategoryView StatusLast Update
0005202MMW v4Main Panel/Toolbars/Menuspublic2009-04-22 19:01
Reporterlowlander Assigned To 
PriorityimmediateSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.1 
Fixed in Version3.1 
Summary0005202: Send To > Email fails (regression)
DescriptionWhen using Send To > Email MediaMonkey shows Error sending email.

Tested with Windows Live Mail 2009 (14.0.9050.1202) and Outlook 2003 (11.8217.8221) SP3. Both show the same error.

Modal Result codes returned from E-Mail Clients:

Error Sending Mail result codes:
1 = Sending of Mail Canceled by E-Mail Client [Error Sending Mail (1)]
3 = Canceled Creating New Account in Outlook Express 2003 when Outlook express is not configured/used
Additional InformationForum topic:
http://www.mediamonkey.com/forum/viewtopic.php?f=7&t=36091
TagsNo tags attached.
Fixed in build1214

Relationships

related to 0002524 closedLudek Add Send-to 'E-Mail' 

Activities

peke

2009-01-15 01:22

developer   ~0016217

Last edited: 2009-01-15 01:25

No Issues with The Bat!

peke

2009-01-15 03:40

developer   ~0016220

No Issues With WLM 8.5 and Outlook Express 2003

Ludek

2009-01-15 10:18

developer   ~0016221

No issues with Win XP Prof. and Otlook Express 2002, I will try WLM (Windows Live Mail)

Ludek

2009-01-15 10:22

developer   ~0016222

Last edited: 2009-01-15 12:17

Reminder sent to: rusty

True is that we should improve error messaging, i.e.

"Error Sending Mail (1)" -> "Sending of Mail Canceled by E-Mail Client"
"Error Sending Mail (3)" -> "Cancelled Creating New Account in E-Mail Client, the Client is not configured/used"

Rusty, fix/confirm the wording please. Thx.

Btw. I guess we should also add the "mail envelope" icon as currently there is no icon for Sent to ... -> E-Mail

Ludek

2009-01-15 12:15

developer   ~0016229

No issues with Win XP Home and Windows Live Mail 12.0.1606

Lowlander, how many accounts do you have in WML?

peke

2009-01-15 12:51

developer   ~0016230

May I suggest:
a) that we collect all codes related to user cancellation and handle results in a single Report
b) determine error results that are related to MM not able to execute send to -> Email and only show that error report ignoring client errors?

Ludek

2009-01-15 13:04

developer   ~0016231

Last edited: 2009-01-15 13:30

Btw. they are also ther error consts, but I guess we don't need to word them all, just 1 & 3.

            const int MAPI_USER_ABORT = 1;
            const int MAPI_E_FAILURE = 2;
            const int MAPI_E_LOGIN_FAILURE = 3;
            const int MAPI_E_DISK_FULL = 4;
            const int MAPI_E_INSUFFICIENT_MEMORY = 5;
            const int MAPI_E_BLK_TOO_SMALL = 6;
            const int MAPI_E_TOO_MANY_SESSIONS = 8;
            const int MAPI_E_TOO_MANY_FILES = 9;
            const int MAPI_E_TOO_MANY_RECIPIENTS = 10;
            const int MAPI_E_ATTACHMENT_NOT_FOUND = 11;
            const int MAPI_E_ATTACHMENT_OPEN_FAILURE = 12;
            const int MAPI_E_ATTACHMENT_WRITE_FAILURE = 13;
            const int MAPI_E_UNKNOWN_RECIPIENT = 14;
            const int MAPI_E_BAD_RECIPTYPE = 15;
            const int MAPI_E_NO_MESSAGES = 16;
            const int MAPI_E_INVALID_MESSAGE = 17;
            const int MAPI_E_TEXT_TOO_LARGE = 18;
            const int MAPI_E_INVALID_SESSION = 19;
            const int MAPI_E_TYPE_NOT_SUPPORTED = 20;
            const int MAPI_E_AMBIGUOUS_RECIPIENT = 21;
            const int MAPI_E_MESSAGE_IN_USE = 22;
            const int MAPI_E_NETWORK_FAILURE = 23;
            const int MAPI_E_INVALID_EDITFIELDS = 24;
            const int MAPI_E_INVALID_RECIPS = 25;
            const int MAPI_E_NOT_SUPPORTED = 26;
            const int MAPI_E_NO_LIBRARY = 999;
            const int MAPI_E_INVALID_PARAMETER = 998;

Re: the Peke's suggestion. Yes, I think we should just ignore the 1 & 3 messages, because they are annoying. User doesn't need to know that he cancelled the sending, because he knows it.

Ludek

2009-01-15 13:08

developer   ~0016232

Last edited: 2009-01-15 13:11

Re the original problem, I've gone through
http://www.google.cz/search?hl=cs&lr=&q=%23-2147467259+mapi&start=20&sa=N

and found something interesting here:

http://delphi.newswhat.com/geoxml/forumhistorythread?groupname=borland.public.delphi.oleautomation&messageid=467f9636@newsgroups.borland.com

i.e.
"I have found the problem : unexplainably vista haven't any default mail
handler but if
i run windows mail, in the general page of the options, vista show that this
application
is the default mail hadler.

To solve this problem i run the control panel and in the default programs
function
i set windows mail as default mail handler and all works fine."

Lowlander, give a try, please.

lowlander

2009-01-15 15:12

developer   ~0016239

I have 2 email accounts setup in WLM.

Trying to reproduce again and now with WLM running or not it works as expected.

Ludek

2009-01-15 15:36

developer   ~0016241

OK, so I just fixed the error handling ( MAPI_USER_ABORT , MAPI_E_LOGIN_FAILURE are ignored as suggested by Peke) and added some debug mesages.

Fixed in build 1214.

peke

2009-01-15 21:52

developer   ~0016252

Added todoc Tag so that Knowledgebase is updated

peke

2009-04-22 19:01

developer   ~0017555

Verified 1238