Ryan,
I'm not completely sure, but I would hazard a guess that you're better
off configuring postfix to route email via SendGrid or Mailgun, as GCE
documentation suggests. Of course you will have to do a bit of system
administration, but that should not be too much trouble.
My reasoning is this: both SendGrid and Mailgun are GCE partners, with
a free tier, so you can experiment with this stuff without having to
deal with many surprises. You can also continue using your current
code.
I don't know about any tutorials on using Haskell and Amazon SES. In
case you're looking for an example of using mime-mail-ses, here's one:
https://github.com/snoyberg/haskellers/blob/master/Handler/Email.hs#L44
You will have to sign up for an AWS account, get SES credentials, get
verified so that you can send emails, get ready to pay 1 cent/email
(or something like that), etc.
I hope I haven't made it more complicated than necessary. :-)
> hi Sajith & Jason,
>
> Sorry for the late response.
>
> thanks for the advise any tutorial about haskell and amozon ses?
>
>
>
> On Thursday, October 8, 2015 at 9:06:27 AM UTC+8, Ryan Monreal wrote:
> >
> > It's been two weeks I'm using the Network-Mail-Mime
> > <
http://haddocks.fpcomplete.com/fp/7.8/20140916-162/mime-mail/Network-Mail-Mime.html> library
> > for my project but due to lack of experience in Haskell I want to ask some
> > help.
> >
> > Once i compile my project it runs smoothly but I don't know why the i
> > can't receive email.
> > I'm using the Mail
> > <
http://hackage.haskell.org/package/mime-mail-0.4.2/docs/Network-Mail-Mime.html#t:Mail> function
> > of the said library. and after that pass the Mail result the another
> > as renderSendMail will use sendmail executable for sending email my
> > production server was on gce and it says that port 25 that uses by sendmail
> > is block.
> >
> > can anyone help me with this.
> >
> > Sorry for my bad english. ^_^
> >
>