Hi All,<div><br></div><div>I am attempting to send email to an SMTP server that uses plain text authentication. So far I have tried both the SMTPClient (<a href="http://hackage.haskell.org/package/SMTPClient-1.0.4">http://hackage.haskell.org/package/SMTPClient-1.0.4</a>) and HaskellNet (<a href="http://hackage.haskell.org/package/HaskellNet">http://hackage.haskell.org/package/HaskellNet</a>). </div>
<div><br></div><div>The SMTPClient library works fine for connecting to a non-restricted local SMTP server, but doesn't seem to have any ability to authenticate, so unless it gets updated I believe it's out of the picture (unless I'm wrong about it not being able to authenticate).</div>
<div><br></div><div>The HaskellNet SMTP bindings are having problems connecting to my local postfix server even without authentication involved. I get a "connect: does not exist (Connection refused)" error. This seems odd to me since the SMTPClient code connects to my local server just fine, so I don't believe this is a postfix configuration issue (I could be wrong here of course).</div>
<div><br></div><div>Here is the code I am currently using: <a href="http://hpaste.org/53764">http://hpaste.org/53764</a></div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thanks,</div>