Example #1
0
func inspect_header(m gmime.Message) {
	fmt.Printf("=================== HEADER =======================\n")
	fmt.Printf("%v\n", m.Headers())
	fmt.Printf("=================== END HEADER ===================\n")
}
Example #2
0
func inspect_message(m gmime.Message) {
	inspect_header(m)
	inspect_part(m.MimePart(), 0)
}