Lines Matching refs:replyTo
273 return replyTo(c, msg, fmt.Sprintf("want 2 args (repo, branch), got %v",
279 return replyTo(c, msg, reply, nil)
304 return replyTo(c, msg, fmt.Sprintf("no commit title"), nil)
310 return replyTo(c, msg, fmt.Sprintf("no dup title"), nil)
315 return replyTo(c, msg, fmt.Sprintf("unknown command %q", msg.Command), nil)
322 return replyTo(c, msg, reply, nil)
355 if err := replyTo(c, msg, "Can't find the corresponding bug.", nil); err != nil {
364 if err := replyTo(c, msg, "Can't find the corresponding bug.", nil); err != nil {
372 if err := replyTo(c, msg, "Can't find the corresponding bug.", nil); err != nil {
409 if err := replyTo(c, msg, reply, nil); err != nil {
414 func sendMailTemplate(c context.Context, subject, from string, to []string, replyTo string,
427 if replyTo != "" {
428 msg.Headers = mail.Header{"In-Reply-To": []string{replyTo}}
434 func replyTo(c context.Context, msg *email.Email, reply string, attachment *aemail.Attachment) error {