Today I need to send email in my OPA apps. Then I'am trying to use opa functions about mail.
I am using the module : stdlib.web.mail
.
And the OPA version :
Opa compiler (c) MLstate -- version S3.5 -- build 320
Then, with function Email.try_send
it's a blocking function and this function block the client long long time... (I have never seen this function terminate....)
Then I have tried to use the function Email.try_send_async
, with a "callback function" like this :
(a-> jlog(Email.string_of_send_status(a)))
I have never seen in console or on client side any error or success message... It's useless to precise that I have never got email too :(
Then my questions are :
- Could you tell me more about this module ?
- Why am I never getting status message ?
- My computer is on local network, maybe I must configure some "package" on my computer to get email working, in this case which "package" is using OPA ?