what is the status of haskell's mail libraries?
Hi all, I was just looking for mail libraries on hackage. You know libraries where I can construct an email, or retrieve on from the server. With retrieving an email I mean something with a bit more structure than a String, or, God help me, a ByteString. Where are we on this subject? I really cannot tell from the first glance. Günther
I just release mime-mail[1], which can construct multipart messages. Michael [1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mime-mail 2010/10/27 Günther Schmidt <gue.schmidt@web.de>:
Hi all,
I was just looking for mail libraries on hackage. You know libraries where I can construct an email, or retrieve on from the server.
With retrieving an email I mean something with a bit more structure than a String, or, God help me, a ByteString.
Where are we on this subject? I really cannot tell from the first glance.
Günther
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
On Wed, 27 Oct 2010 04:46:07 +0200, Michael Snoyman <michael@snoyman.com> wrote:
I just release mime-mail[1], which can construct multipart messages.
Note, that this will not run on Windows, as it gives command /usr/sbin/sendmail Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --
On Wed, Oct 27, 2010 at 10:39 AM, Henk-Jan van Tuyl <hjgtuyl@chello.nl> wrote:
On Wed, 27 Oct 2010 04:46:07 +0200, Michael Snoyman <michael@snoyman.com> wrote:
I just release mime-mail[1], which can construct multipart messages.
Note, that this will not run on Windows, as it gives command /usr/sbin/sendmail
The sendmail feature will not work on Windows (and you're right, I should document that more clearly). However, rendering of email messages is completely cross-platform, and there was some talk of getting either HaskellNet or SMTPClient to work with mime-mail, which would allow direct sending of email via SMTP. Michael
I've finally gotten around to doing an update to HaskellNet which provides along with some cleanups integration with mime-mail. There is an example of its usage at: example/smtpMimeMail.hs in http://hackage.haskell.org/package/HaskellNet -Rob On Wed, Oct 27, 2010 at 11:05 AM, Michael Snoyman <michael@snoyman.com> wrote:
On Wed, Oct 27, 2010 at 10:39 AM, Henk-Jan van Tuyl <hjgtuyl@chello.nl> wrote:
On Wed, 27 Oct 2010 04:46:07 +0200, Michael Snoyman <michael@snoyman.com> wrote:
I just release mime-mail[1], which can construct multipart messages.
Note, that this will not run on Windows, as it gives command /usr/sbin/sendmail
The sendmail feature will not work on Windows (and you're right, I should document that more clearly). However, rendering of email messages is completely cross-platform, and there was some talk of getting either HaskellNet or SMTPClient to work with mime-mail, which would allow direct sending of email via SMTP.
Michael _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
This looks very good, thank you! One comment: do you think it would be possible to add a function for sending a mime-mail Mail datatype directly? I see that you provide a wrapper around simpleMail in your sendMimeMail function, but that won't always be sufficient. Michael On Tue, Dec 28, 2010 at 9:46 PM, Robert Wills <wrwills@gmail.com> wrote:
I've finally gotten around to doing an update to HaskellNet which provides along with some cleanups integration with mime-mail. There is an example of its usage at:
example/smtpMimeMail.hs
in
http://hackage.haskell.org/package/HaskellNet
-Rob
On Wed, Oct 27, 2010 at 11:05 AM, Michael Snoyman <michael@snoyman.com> wrote:
On Wed, Oct 27, 2010 at 10:39 AM, Henk-Jan van Tuyl <hjgtuyl@chello.nl> wrote:
On Wed, 27 Oct 2010 04:46:07 +0200, Michael Snoyman <michael@snoyman.com> wrote:
I just release mime-mail[1], which can construct multipart messages.
Note, that this will not run on Windows, as it gives command /usr/sbin/sendmail
The sendmail feature will not work on Windows (and you're right, I should document that more clearly). However, rendering of email messages is completely cross-platform, and there was some talk of getting either HaskellNet or SMTPClient to work with mime-mail, which would allow direct sending of email via SMTP.
Michael _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Sure -- I'll look at doing that. No time today but should be able to look at that on Friday. -Rob On Wed, Dec 29, 2010 at 6:02 AM, Michael Snoyman <michael@snoyman.com> wrote:
This looks very good, thank you! One comment: do you think it would be possible to add a function for sending a mime-mail Mail datatype directly? I see that you provide a wrapper around simpleMail in your sendMimeMail function, but that won't always be sufficient.
Michael
On Tue, Dec 28, 2010 at 9:46 PM, Robert Wills <wrwills@gmail.com> wrote:
I've finally gotten around to doing an update to HaskellNet which provides along with some cleanups integration with mime-mail. There is an example of its usage at:
example/smtpMimeMail.hs
in
http://hackage.haskell.org/package/HaskellNet
-Rob
On Wed, Oct 27, 2010 at 11:05 AM, Michael Snoyman <michael@snoyman.com> wrote:
On Wed, Oct 27, 2010 at 10:39 AM, Henk-Jan van Tuyl <hjgtuyl@chello.nl> wrote:
On Wed, 27 Oct 2010 04:46:07 +0200, Michael Snoyman <michael@snoyman.com> wrote:
I just release mime-mail[1], which can construct multipart messages.
Note, that this will not run on Windows, as it gives command /usr/sbin/sendmail
The sendmail feature will not work on Windows (and you're right, I should document that more clearly). However, rendering of email messages is completely cross-platform, and there was some talk of getting either HaskellNet or SMTPClient to work with mime-mail, which would allow direct sending of email via SMTP.
Michael _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Note, that this will not run on Windows, as it gives command /usr/sbin/sendmail
It sounds like mime-mail may be getting native support soon, but until then you may try what I've had success with on Windows. Grab a sendmail replacement like the one at http://glob.com.au/sendmail/. It's just a sendmail.exe executable that you can place in your path along with a .ini configuration file to go with it. -- Michael Steele -- -- Michael Steele
Hi Michael, thanks for the link and congratulations on your other work too. Günther
participants (5)
-
Günther Schmidt -
Henk-Jan van Tuyl -
Michael Snoyman -
Michael Steele -
Robert Wills