…ng list instead of a bare optional string
Sending email via a specified Smtp Server When the server is in intranet, it's not always possible to reach smtp server present in MX record. Then I have add an optional argument to specify a smtp server adress you want to use for sending email.
…header into mail, some format, cleanup and doc
…ctions to smtpClient.ml
- ability to give custom To: or Cc: addresses (in Email.options) - bug: when sending an email, the To: field is not necessarily the recipient - better error handling for mx_resolution, especially when no MX found (retry) - files are now in Email.options, and not directly as a function parameter - some cleanup, format and doc
…taining custom_headers for the moment
…n Buf and Buffer.
- Headers type definition moved from resource_private to resource. - Modified bslNet to convert opa headers to caml headers (the ones used by HttpServer) - Modified HttpServer to use user's defined headers for answering
See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html I just modified the """parser""" to handle "Etag" the same way as "ETag" (the first being sent by CouchDb), but didn't modify the rest, although the parser could fail in numerous cases.
… one-use channels
…ction handler in opa
any function that may block waiting on responses now has an error-continuation-taking counterpart, that will trigger a user-defined function in case of disconnection or problem