1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: fix unset reader notice for the smtp/mail example (#17998)

This commit is contained in:
Thomas Peißl
2023-05-02 21:54:57 +02:00
committed by GitHub
parent d3dbd7b743
commit 353de60158
2 changed files with 4 additions and 4 deletions

View File

@ -31,6 +31,6 @@ fn main() {
body_type: .html
body: body
}
mut client := smtp.new_client(client_cfg) or { panic('Error configuring smtp') }
client.send(send_cfg) or { panic('Error resolving email address') }
mut client := smtp.new_client(client_cfg) or { panic('Error with configuring smtp: ${err}') }
client.send(send_cfg) or { panic('Error resolving email address: ${err}') }
}