simpleMail
\"Make sending HTML and file emails easier
Summary
| Latest Version | 0.1.0 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:26 |
Tags
Authors
- up7down8
Installation
nimble install simpleMail
choosenim install simpleMail
git clone https://github.com/up7down8/simpleMail
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| simpleMail | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.0.0 | No |
| smtp | - | No |
Source
| Repository | https://github.com/up7down8/simpleMail |
|---|---|
| Homepage | https://github.com/up7down8/simpleMail |
| Registry Source | nimble_official |
README
let multMessage = initMessage("subject", "sender addr", toMail.split(","), ccMail.split(","), @[("From", "MAIL")])
let html = "<h1>a</h1>"
multMessage.addHtml(html)
multMessage.addFiles(@["filepath1", "filepath2"])
let smtpConn = serverConnect("1.1.1.1", 25, false)
echo multMessage
smtpConn.messageSend(multMessage)