Lines Matching full:email

20 	"github.com/google/syzkaller/pkg/email"
27 // Email reporting interface.
38 mailingLists[email.CanonicalEmail(cfg.Email)] = true
45 emailType = "email"
59 Email string member
74 if _, err := mail.ParseAddress(cfg.Email); err != nil {
75 return fmt.Errorf("bad email address %q: %v", cfg.Email, err)
77 for _, email := range cfg.DefaultMaintainers {
78 if _, err := mail.ParseAddress(email); err != nil {
79 return fmt.Errorf("bad email address %q: %v", email, err)
109 log.Errorf(c, "failed to unmarshal email config: %v", err)
113 rep.CC = email.MergeEmailLists(rep.CC, rep.Maintainers, cfg.DefaultMaintainers)
159 return fmt.Errorf("failed to unmarshal email config: %v", err)
161 to := email.MergeEmailLists([]string{cfg.Email}, rep.CC)
168 from, err := email.AddAddrContext(fromAddr(c), rep.ID)
172 creditEmail, err := email.AddAddrContext(ownEmail(c), rep.ID)
236 log.Infof(c, "sending email %q to %q", rep.Title, to)
249 msg, err := email.Parse(r.Body, ownEmails(c))
253 log.Infof(c, "received email: subject %q, from %q, cc %q, msg %q, bug %q, cmd %q, link %q",
264 // A mailing list can send us a duplicate email, to not process/reply
266 mailingList := email.CanonicalEmail(emailConfig.Email)
267 fromMailingList := email.CanonicalEmail(msg.From) == mailingList
276 reply := handleTestRequest(c, msg.BugID, email.CanonicalEmail(msg.From),
284 log.Infof(c, "duplicate email from mailing list, ignoring")
334 log.Errorf(c, "email bounced: failed to read body: %v", err)
338 log.Infof(c, "email bounced: address not found")
340 log.Errorf(c, "email bounced")
348 func loadBugInfo(c context.Context, msg *email.Email) (bug *Bug, bugReporting *BugReporting, report… argument
384 log.Errorf(c, "reporting is not email: namespace=%q reporting=%q config=%q",
391 func checkMailingListInCC(c context.Context, msg *email.Email, mailingList string) bool { argument
392 if email.CanonicalEmail(msg.From) == mailingList {
396 if email.CanonicalEmail(cc) == mailingList {
404 func warnMailingListInCC(c context.Context, msg *email.Email, mailingList string) { argument
410 log.Errorf(c, "failed to send email reply: %v", err)
434 func replyTo(c context.Context, msg *email.Email, reply string, attachment *aemail.Attachment) erro… argument
439 from, err := email.AddAddrContext(fromAddr(c), msg.BugID)
450 Body: email.FormReply(msg.Body, reply),
457 // Sends email, can be stubbed for testing.
460 return fmt.Errorf("failed to send email: %v", err)