After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 351573 - GNKSA: allow users to send mail from Pan
GNKSA: allow users to send mail from Pan
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other Linux
: Normal enhancement
: 1.0
Assigned To: Charles Kerr
Pan QA Team
: 349713 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-16 01:09 UTC by Charles Kerr
Modified: 2006-08-22 18:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0.108 patch -- first draft. (28.85 KB, patch)
2006-08-16 22:33 UTC, Charles Kerr
none Details | Review

Description Charles Kerr 2006-08-16 01:09:15 UTC
Although Pan won't send mail directly, it must provide the ability
to farm the work out to another application.  I imagine specifying
which MUA to use will be a preferences option.

Necessary steps:

 (1) add a "Reply" menu option in the post menu

 (2) add a "To:" header line in the compose window

 (3) when the user hits "Send" and the "To:" line is
     nonempty, invoke the MUA.

 (4) when invoking the MUA, if the "Newsgroups:" header
     is nonempty, add something to the email message only
     stating "this is a copy of an article posted to $group".

 (5) if no MUA is configured when we try to invoke the MUA,
     pop up an error dialog and ask the user to configure
     one via Edit|Preferences|Applications.

 (6) Add Edit|Preferences|Applications.
     The Browser line can be moved to here.

     Browser
       [browser-mode-combo                  ]

     Mail User-Agent
        pan-file-entry
        arguments: [mua-args-combo          ]

     Where mua-args-combo has:
        KMail
        Evolution
        Thunderbird
        Mutt
        Sylpheed
        Custom:

     and custom manages an entry field
     just as browser-mode-combo does,
     plus a help button.

 (7) The MUA arguments:
     (mutt) mailto:%A?subject=%S&cc=%C&body=%B
     (evolution) mailto:%A?Subject=%S&Cc=%C&body=%B
     (kmail) -s %s -c %c --body %b %a
     (balsa) -m mailto:%A?subject=%S&cc=%C&body=%B
     (sylpheed) --compose mailto:%a?subject=%S&cc=%c&body=%B
Comment 1 Charles Kerr 2006-08-16 20:31:11 UTC
Actually it might be cleaner/simpler to handle (6) just as we handle browsers now.
It seems that newer versions of all the modern MUAs handle mailto arguments...
Comment 2 Charles Kerr 2006-08-16 22:33:23 UTC
Created attachment 71058 [details] [review]
0.108 patch -- first draft.
Comment 3 Charles Kerr 2006-08-16 22:45:13 UTC
steps 1-4 made it through unchanged.

steps 5-7 are moot -- we just pass a mailto URL to the system's default URL handler (or a custom one specified in prefs-ui).
Comment 4 Daniel Leidert 2006-08-18 03:03:06 UTC
*** Bug 349713 has been marked as a duplicate of this bug. ***
Comment 5 Charles Kerr 2006-08-18 16:04:15 UTC
This draft fix is included in 0.109.