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

Function allRecipients

internal/agent/screening.go:66–72  ·  view source on GitHub ↗
(req outbound.SendRequest)

Source from the content-addressed store, hash-verified

64}
65
66func allRecipients(req outbound.SendRequest) []string {
67 out := make([]string, 0, len(req.To)+len(req.CC)+len(req.BCC))
68 out = append(out, req.To...)
69 out = append(out, req.CC...)
70 out = append(out, req.BCC...)
71 return out
72}
73
74func domainOf(addr string) string {
75 if i := strings.LastIndex(addr, "@"); i >= 0 {

Callers 3

recipientGateFunction · 0.85
blockAuditIDFunction · 0.85
emitBlockedOutboundMethod · 0.85

Calls 1

makeFunction · 0.85

Tested by

no test coverage detected