Bug 199978 - Can not email images on Windows [patch]
Summary: Can not email images on Windows [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 10:01 UTC by David Eriksson
Modified: 2022-01-07 05:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0


Attachments
Make emailing possible on Windows (3.94 KB, patch)
2009-09-18 22:53 UTC, David Eriksson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Eriksson 2009-07-13 10:01:22 UTC
Version:           unknown (using 4.2.3 (KDE 4.2.3), MinGW 3.4.5)
Compiler:          gcc.exe
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

When I use Default as mail program Thunderbird is open with a new message but no images are attached. I have tried to look in the code an it looks like this option uses the mailto-url. Thunderbird and most other (if not all) mail programs ignores the attached part of a mailto-url for security reasons.

If I instead uses Thunderbird as mail program direct it fails with 'Failed to start "thunderbird" program. Check your system.' On Windows one can not assume that all programs are in the path.

One possible solution would be to offer the user the possibility to find the program explicitly with a file dialog.
Comment 1 David Eriksson 2009-09-18 22:52:27 UTC
I have tried to get this working. The attached patch lets me send images using Thunderbird. There might be a better way of doing this but this is a start.
Comment 2 David Eriksson 2009-09-18 22:53:14 UTC
Created attachment 37045 [details]
Make emailing possible on Windows
Comment 3 caulier.gilles 2009-09-18 23:07:15 UTC
David,

Thanks for the patch. I will review it in the future...

Gilles Caulier
Comment 4 caulier.gilles 2011-12-21 10:11:19 UTC
Ananta,

There is a patch for windows in this file...

Gilles Caulier
Comment 5 caulier.gilles 2011-12-21 22:35:50 UTC
*** Bug 228609 has been marked as a duplicate of this bug. ***
Comment 6 caulier.gilles 2011-12-21 22:36:09 UTC
*** Bug 280923 has been marked as a duplicate of this bug. ***
Comment 7 caulier.gilles 2013-10-30 10:07:57 UTC
Git commit 7e85e3bdabc187d7ea449934f99fdb384b7ea6da by Gilles Caulier.
Committed on 30/10/2013 at 10:06.
Pushed by cgilles into branch 'master'.

SendImages : apply patch #37045 to make emailing possible on Windows
FIXED-IN: 4.0.0

M  +71   -2    sendimages/sendimages.cpp

http://commits.kde.org/kipi-plugins/7e85e3bdabc187d7ea449934f99fdb384b7ea6da