Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

mbox library

save an email to an mbox file

package main

import "github.com/aerth/mbox"

func main(){
mbox.Destination = "me@localhost"

// Choose file name
mbox.Open("my.mbox")

// Build the email
var form mbox.Form
form.Email = "root@localhost"
form.Subject = "As seen on TV!!!"
form.Message = "This really works!"

// Save message to mailbox
mbox.Save(&form)
}


About

Save an email to a .mbox file (sucks)

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.