all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: David Reitter <david.reitter@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: send-mail-function / mailclient
Date: Tue, 20 Jan 2009 21:25:57 +0100	[thread overview]
Message-ID: <e01d8a50901201225x7ac109d9jd39c5e98ba3fa1d3@mail.gmail.com> (raw)
In-Reply-To: <B7D06D12-46E7-4215-ABBE-EA49E9FAF7C5@gmail.com>

On Tue, Jan 20, 2009 at 9:06 PM, David Reitter <david.reitter@gmail.com> wrote:
> On 19 Jan 2009, at 23:52, Stefan Monnier wrote:
>
>>> On the downside, I find that sending mail Postfix-style does not work as
>>> well as it used to, due to crippled mail servers that refuse to  accept
>>> mail
>>> from dynamic IP ranges (i.e. home broadband) as a spam-
>>> defense.
>>
>> Yes, that's the problem.  Nowadays, "systems" are basically not allowed
>> to email any more, only "users".  So using `postfix' (which is not
>> under the control of a user. but only under the control of the system)
>> doesn't cut it.
>
> In order to use the `mailclient' method on all systems, we should consider
> the following issues:
>
> - some incorrect implementations of mail clients (notably GMail Notifier)
> fails to handle long URLs.  In the case of Gmail it seems to be the server
> software that cuts off long URLs (intentionally, I assume).  You may argue
> that this is a bug in these "mail clients", but that doesn't help our users.
>  I have received several bug reports from Aquamacs users regarding this and
> I now use a workaround that falls back to the "sendmail" method if Gmail is
> used.
>
> - Buffers are edited twice - once in Emacs, and then again in the mail
> client.  The mailto:// protocol wasn't designed to handle full messages to
> be sent off without editing.  We're abusing the protocol.  Sending bug
> reports may best be handled by composing the template and then having users
> edit the report in their preferred mail client.  Sending e-mail with
> packages such as VM requires user to configure an SMTP server anyways, so
> `send-mail-function' can be expected to be customized,too.
>
> - What happens if Emacs is used as mailto:// handler?  At least on my
> system, we don't provide the function directly, but in principle, users
> should be able to do this.  If GNU/Linux has some kind of accepted standard
> to announce "I can handle xxx:// URLs", then perhaps we should implement it
> (for all systems).

When this was discussed some time ago a workaround was implemented for
w32. I think this can be used on most platforms.

With this workaround you can edit the data in both Emacs and the mail
client. When you finish editing the mail message in Emacs the users
mail client is started to edit a new mail message. This message has
the subject from Emacs, but the body just says

   *** E-Mail body has been placed on clipboard, please paste them here! ***

This is implemented in mailclient.el




  reply	other threads:[~2009-01-20 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 20:14 send-mail-function / mailclient David Reitter
2009-01-20  4:52 ` Stefan Monnier
2009-01-20 20:06   ` David Reitter
2009-01-20 20:25     ` Lennart Borgman [this message]
2009-01-27 13:48       ` David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50901201225x7ac109d9jd39c5e98ba3fa1d3@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.