bzr-email 0.11 released

Jari Aalto jari.aalto at cante.net
Thu Sep 28 07:48:06 BST 2006


John Arbash Meinel <john at arbash-meinel.com> writes:

> Bob Tanner wrote:
> > Robert Collins wrote:
> >> I've released bzr-email 0.11.
> > 
> > I recently have been dragged kicking-n-screaming into the windows
> > world.  ;-) After 4 days of using visual source safe I'm going to shave my
> > head, get a lobotomy, and drool on myself for hours on end.
> > 
> > To save myself I brought over my my favor RCS, bzr, to my XP sysyem, but was
> > a little surprised to find that the bzr-email plugin is linux(?) specific
> > (well, requires mail to be installed).
> > 
> > def _command_line(self):
> >   return ['mail', '-s', self.subject(), '-a', "From: " +
> > self.from_address(), self.to()]
> > 
> > Any reason not to use one of the mail smtp clients written in python?
> > 
> 
> I think the biggest reason is that you need to configure an smtp server,
> etc. Typically *Nix machines have a SMTP server always running, but
> Windows doesn't.

Not really. Linux machines that are for "end users only" do not need
to have mail server. These can use various SMTP clients (ssmtp etc.)
to forward the mail to the ISPs smarthost.

Only minority can run their own mail servers, because ISPs block the
port 25.

In addition, dynamic IP hosts are included in IP blacklists and cannot send
mail directly to the destination - hence the lesser need for SMTP server.

- - 

A direct SMTP communication is better. The code shoudl look at environment variable 
SMTPSERVER.

Jari





More information about the bazaar mailing list