Ejemplo n.º 1
0
func FreshTestMail(provider mtacontainer.MTAProvider, to string) model.Email {

	var headers map[string][]string = map[string][]string{
		"To":      []string{to},
		"From":    []string{"BitMail <*****@*****.**>"},
		"Subject": []string{"An Email test through " + provider.GetName()},
	}

	var content = "Hi, this is a test, sincerely the BitMail team."
	return model.NewMail(content, headers)
}