MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / domainOf

Function domainOf

internal/agent/screening.go:74–79  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

72}
73
74func domainOf(addr string) string {
75 if i := strings.LastIndex(addr, "@"); i >= 0 {
76 return strings.TrimSpace(addr[i+1:])
77 }
78 return ""
79}
80
81// composeScanBody reconstructs the outbound message as a REAL MIME blob for
82// piguard.Extract, so the same extractor that handles inbound (charset decode,

Callers 1

recipientGateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected