Async SSL support.
This commit is contained in:
parent
d26d42b88e
commit
bb1e87ce4d
5 changed files with 239 additions and 63 deletions
|
|
@ -44,8 +44,11 @@ type
|
|||
|
||||
ReplyError* = object of IOError
|
||||
|
||||
AsyncSmtp* = ref object
|
||||
sock: AsyncSocket
|
||||
|
||||
{.deprecated: [EInvalidReply: ReplyError, TMessage: Message, TSMTP: Smtp].}
|
||||
|
||||
|
||||
proc debugSend(smtp: TSMTP, cmd: string) =
|
||||
if smtp.debug:
|
||||
echo("C:" & cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue