Send email: Difference between revisions
m
→{{header|Wren}}: Minor tidy
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: future-proof for 5.36) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,906:
{{libheader|WrenGo}}
An embedded application with a Go host so we can use their net/smtp module.
<syntaxhighlight lang="
foreign class Authority {
Line 2,004:
<br>
We now embed this script in the following Go program and run it.
<syntaxhighlight lang="go">/* go run
package main
Line 2,064:
func main() {
vm := wren.NewVM()
fileName := "
smtpMethodMap := wren.MethodMap { "static sendMail(_,_,_,_,_)": sendMail }
|