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
…slice (which corresponds to every single call case)