Sendind mail

Jorge Adriano [email protected]
Wed, 13 Feb 2002 16:08:28 +0000


--------------Boundary-00=_4IBHEULK4XR5DLWCX077
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit


>     Hi,
>            I'd like to know if there's any Hugs compatible library with
> functionalities to send mail.

I don't think so. If all you want to do is send mail from within an haskell 
program why not just make system calls. I did something like that a long time 
ago. I've sent you the module in attachment.

(suposed to work in *nixes)
J.A.


--------------Boundary-00=_4IBHEULK4XR5DLWCX077
Content-Type: text/x-java;
  charset="iso-8859-1";
  name="gerar_mails.lhs"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gerar_mails.lhs"

PiBpbXBvcnQgU3lzdGVtCgoKRXN0ZSBmaWNoZWlybyBjb250ZW0gZnVjb2VzIHBhcmEgZXUgZW52
aWFyIG1haWxzIGFvcyBtZXVzIGFsdW5vcwo+IHR5cGUgTWFpbCA9IFN0cmluZwoKCk1haWxzIGRh
cyBUdXJtYXMgUDMgZSBQNCAtIHBvc3NvIHRlciBxdWUgYWx0ZXJhciBwYXJhIGZpbHRyYXIgYWx1
bm9zCj4gbWFpbHNfUDMgOjogW01haWxdCj4gbWFpbHNfUDMgPSAgWyJtcDAiICsrIHNob3cobikg
KysgIkBtYXQudWMucHQiIHwgbiA8LSBbMzAxLi4gMzM2XSBdCgo+IG1haWxzX1A0IDo6IFtNYWls
XQo+IG1haWxzX1A0ID0gIFsibXAwIiArKyBzaG93KG4pICsrICJAbWF0LnVjLnB0IiB8IG4gPC0g
WzQwMS4uIDQwN10gXQoKCgpNYWlscyBkYXMgbWluaGFzIHR1cm1hcyBQcmF0aWNhcwo+IG1haWxz
X1RQIDo6IFtNYWlsXQo+IG1haWxzX1RQID0gIG1haWxzX1AzICsrIG1haWxzX1A0CgoKCkVudmlh
ciBtYWlsczoKPiB0eXBlIFN1YmplY3QgPSBTdHJpbmcKPiB0eXBlIFBhdGggICAgPSBTdHJpbmcK
PiB0eXBlIE1lc3NhZ2UgP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