diff --git a/.ikc3_history b/.ikc3_history
index 465529a..4c0bfbc 100644
--- a/.ikc3_history
+++ b/.ikc3_history
@@ -1,7 +1,3 @@
-(F64) 0.3 + (F64) 0.3
-type(0.1)
-0.1 + 0.1
-0.01 + 0.01
1 / 3
1.0 / 3.0
1 mod 3
@@ -97,3 +93,7 @@ Deserialize.str_to_tag(s)
sysctl([:hw, :ncpu])
sysctl([:hw])
sysctl([:hw, :ncpu, :a])
+SMTP.open
+s = SMTP.open("localhost", "25", :plop, :debug, "")
+s = SMTP.open("localhost", "25", :none, :none, "")
+SMTP.close(s)
diff --git a/lib/kc3/0.1/smtp.kc3 b/lib/kc3/0.1/smtp.kc3
new file mode 100644
index 0000000..75e975c
--- /dev/null
+++ b/lib/kc3/0.1/smtp.kc3
@@ -0,0 +1,10 @@
+defmodule SMTP do
+
+ dlopen(__DIR__ + "smtp.so")
+
+ def close = cfn Bool "kc3_smtp_close" (Ptr)
+
+ # open(server, port, security, flags, cafile, dest)
+ def open = cfn Ptr "kc3_smtp_open" (Str, Str, Sym, Sym, Str, Result)
+
+end
diff --git a/smtp b/smtp
index 9d8af19..e913e2f 160000
--- a/smtp
+++ b/smtp
@@ -1 +1 @@
-Subproject commit 9d8af19a0a58d41ba1be379276858dc8d0712d4f
+Subproject commit e913e2f01fdc594b83ce0bbe01dd5ff71b419b8f