MCPcopy Create free account
hub / github.com/foxcpp/maddy / FormatAddress

Function FormatAddress

internal/cli/ctl/imap.go:412–414  ·  view source on GitHub ↗
(addr *imap.Address)

Source from the content-addressed store, hash-verified

410}
411
412func FormatAddress(addr *imap.Address) string {
413 return fmt.Sprintf("%s <%s@%s>", addr.PersonalName, addr.MailboxName, addr.HostName)
414}
415
416func FormatAddressList(addrs []*imap.Address) string {
417 res := make([]string, 0, len(addrs))

Callers 1

FormatAddressListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected