RewriteRcpt replaces RCPT TO value. If no changed are required, this method returns its argument as slice, otherwise it returns a slice with 1 or more new values. MsgPipeline will take of populating MsgMeta.OriginalRcpts. RewriteRcpt doesn't do it.
(ctx context.Context, rcptTo string)
| 69 | // MsgPipeline will take of populating MsgMeta.OriginalRcpts. RewriteRcpt |
| 70 | // doesn't do it. |
| 71 | RewriteRcpt(ctx context.Context, rcptTo string) ([]string, error) |
| 72 | |
| 73 | // RewriteBody modifies passed Header argument and may optionally |
| 74 | // inspect the passed body buffer to make a decision on new header field values. |
no outgoing calls