[Haskell-cafe] Re: Should Yesod.Mail be a separate package?

Robert Wills wrwills at gmail.com
Sun Oct 17 05:13:42 EDT 2010


Yes you're right Kevin.  I'll put up a new release sometime in the
next week with some more examples
and possible some simpler methods if only so HaskellNet can be more
easily evaluated.

As I recall Happstack also uses an smtp library.  I forget which one.

-Rob

On Sun, Oct 17, 2010 at 9:29 AM, Kevin Jardine <kevinjardine at gmail.com> wrote:
> Hi Robert,
>
> I did look at HaskellNet a few months ago.
>
> It looked big and undocumented so I guess I got scared away.
>
> What I'd be interested in is something with the simplicity of the PHP
> mail command (or perhaps the phpmailer package).
>
> I dislike PHP as a programming language but it does basic web
> functions like outgoing email fairly well.
>
> Perhaps HaskellNet just needs more documentation and examples?
>
> Kevin
>
> On Oct 17, 10:05 am, Robert Wills <wrwi... at gmail.com> wrote:
>> Last summer I put cabalized HaskellNet (written by Jun Mukai for a
>> GSOC) (http://hackage.haskell.org/package/HaskellNet)
>> and uploaded it to hackage.  I put myself down as a maintainer but I
>> haven't done much maintaining.
>>
>> HaskellNet also does multipart mime and base64 stuff as well as imap
>> and pop access.  I haven't looked at Michael's package yet -- I'll
>> have a look this morning
>> to compare.
>>
>> I've been meaning to add try to tls support to HaskellNet.
>>
>> I don't have any huge attachment to HaskellNet so I'd be happy to just
>> help to migrate the useful bits of it to some larger official email
>> package.
>>
>> -Rob
>>
>>
>>
>> On Sun, Oct 17, 2010 at 8:32 AM, Kevin Jardine <kevinjard... at gmail.com> wrote:
>> > Hi Michael,
>>
>> > Last time I checked Hackage for email libraries I could find some
>> > basic SMTP systems but nothing very recent or robust.
>>
>> > Practically every web app needs to send email, so I think that a
>> > robust and well maintained email package would be very useful.
>>
>> > I know you have many other projects going at the minute, but if you
>> > had a chance to create a stand alone email package, I'd be interested
>> > in trying it out.
>>
>> > I've been working on a web app engine that combines Heist from Snap
>> > and several of the WAI packages with an object store system I've
>> > developed myself (and will release on Hackage at some point). Email
>> > was a missing piece and it sounds like your package could fill the gap
>> > nicely.
>>
>> > Kevin
>>
>> > On Oct 17, 8:11 am, Michael Snoyman <mich... at snoyman.com> wrote:
>> >> Hey all,
>>
>> >> I wrote a simple email module in Yesod[1] that handles such things as
>> >> multipart messages and Base64 encoding. It's still missing some
>> >> features (multipart/alternative, for instance), but it can be useful
>> >> for throwing together emails. It's currently part of the yesod
>> >> package, but I'm going to be moving it to a separate package to free
>> >> me up to make breaking API changes more frequently.
>>
>> >> As of right now, I'm just going to move it into the yesod-auth package
>> >> (also being split off from the main yesod package), and therefore it
>> >> will still have all the dependencies on Yesod. My question is whether
>> >> people would find this package useful outside the scope of Yesod.
>> >> There are no dependencies from this module onto any Yesod-specific
>> >> stuff, so this separation could easily be done. I just don't feel like
>> >> adding another package to maintain if no one is interested.
>>
>> >> So if anyone wants this offered up as a separate package, and/or has
>> >> any API suggestions, please let me know.
>>
>> >> Michael
>>
>> >> [1]http://hackage.haskell.org/packages/archive/yesod/0.5.4/doc/html/Yeso...
>> >> _______________________________________________
>> >> Haskell-Cafe mailing list
>> >> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
>> > _______________________________________________
>> > Haskell-Cafe mailing list
>> > Haskell-C... at haskell.org
>> >http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list