I ran into this problem when I wanted to send email from a HAppS web
app, routing it through gmail. There actually used to be an SMTP
client in HAppS but it was dropped a while ago.

The most common workaround appears to be, just use sendmail. But I
couldn't figure out a way to get sendmail to interface with gmail. (I
think there is a way, there are blogs on it, I just wasn't patient
enough to follow the directions.)

What I finally did is, I have successfully followed the instructions in

http://www.ericstockwell.com/?p=3

to send myself email from the command line. So I will probably use HSH
to run shell commands in my haskell web apps, to send email.

This process only took a few minutes, and seemed easier than the
postfix/sendmail solutions I came across.

Of course, this only works in unixy environments.

thomas.

2007/9/27 brad clawsie <[EMAIL PROTECTED]>:
>> jmuk's HaskellNet project from last year?
>>
>>     http://darcs.haskell.org/SoC/haskellnet/HaskellNet/IMAP.hs
>
> sweet! was there any documentation created for this? examples?
> anything? have people tried to make this work with ssl/tls libs?
>
> by the way there looks like some other gems in the haskellnet
> dir. what exactly was haskellnet - a project to code to the major
> network protocols? are these libs stable? how does the HTTP lib stack
> up against Network.HTTP? any info on this project would be
> appreciated.
> _______________________________________________
> 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

Reply via email to