[darcs-users] changes needed for darcs push on win32?
David Roundy
droundy at abridgegame.org
Fri Aug 8 17:34:37 UTC 2003
On Fri, Aug 08, 2003 at 08:59:53AM +0200, Peter Strand wrote:
> On Fri, Aug 08, 2003 at 03:46:38AM +0200, Shae Matijs Erisson wrote:
> > I would guess that darcs push doesn't work on win32.
> > Would it need anything other than SMTP sending and calling GPG for signing?
>
> [ darcs currently needs /.../sendmail ]
>
> I guess the correct way to send mail is to use the windows Messaging API,
> especially the MAPISendMail function looks useful ;)
>
> It shouldn't be too much work to interface that, I think..
Yeah, that seems like it would be the best solution. I looked into it a
little bit, and couldn't see offhand how to specify the recipient address
with MAPISendMail, but I'm sure it must be possible.
> One alternative is of course to write write a small smtp-mailer and
> include it in darcs, not much work to do something simple, but means we
> have to know which mailserver to use and it will not work for mailservers
> requiring fancy clients (authentication or ssl or ...).
That's another possibility, but as you say, could add considerable
complexity. I guess a really simple SMTP client might make sense as a
backup if /usr/sbin/sendmail isn't found. And, of course, being able to
configure the path of sendmail would be reasonable, if there are people
with a sendmail in a different location.
--
David Roundy
http://www.abridgegame.org
More information about the darcs-users
mailing list