Lines Matching refs:body
340 send_email(nd_hdl_t *nhdl, const char *headers, const char *body, in send_email() argument
360 if (fprintf(mp, "%s\n.\n", body) < 0) in send_email()
572 char *body_fmt, *headers = NULL, *body = NULL, tstamp[32]; in irpt_cbfunc() local
633 body = calloc(len, sizeof (char)); in irpt_cbfunc()
635 (void) snprintf(body, len, body_fmt, hostname, tstamp, in irpt_cbfunc()
647 body = calloc(len, sizeof (char)); in irpt_cbfunc()
649 (void) snprintf(body, len, body_fmt, hostname, tstamp, class); in irpt_cbfunc()
660 send_email(nhdl, headers, body, eprefs->ep_recips[i]); in irpt_cbfunc()
664 free(body); in irpt_cbfunc()
703 char *body = NULL, *headers = NULL; in listev_cb() local
749 if ((body = fmd_msg_gettext_nv(nhdl->nh_msghdl, NULL, in listev_cb()
755 postprocess_msg(body); in listev_cb()
765 send_email(nhdl, headers, body, eprefs->ep_recips[i]); in listev_cb()
769 free(body); in listev_cb()