| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Smtpbz.Internal.Has
Documentation
smtp.bz configuration that is used by the library and the user may want to override.
Methods
apiKey :: t -> ByteString Source #
API key; get one at https://smtp.bz/panel/user
API base URL; Most likely, https://api.smtp.bz/v1
httpMan :: t -> Manager Source #
The Manager under which all requests will be made.
The default Manager is incompatible with outdated smtpbz servers because it requires the Extended Main Secret extension, which those servers do not support. Therefore, we define a newtype to prevent unintentional passing of an incompatible Manager to API methods, which would result in a runtime error.