Body sets the body and header contents for the message. If this method fails, message is assumed to be undeliverable to all recipients. Implementation should avoid doing any persistent changes to the underlying storage until Commit is called. If that is not possible, Abort should (attempt to) rollb
(ctx context.Context, header textproto.Header, body buffer.Buffer)
| 78 | // Commit moves the created file to new/ directory. |
| 79 | // Abort removes the created file. |
| 80 | Body(ctx context.Context, header textproto.Header, body buffer.Buffer) error |
| 81 | |
| 82 | // Abort cancels message delivery. |
| 83 | // |
no outgoing calls