rfc822_write_address (resent_from, sizeof (resent_from), from);
if (mutt_addrlist_to_idna (from, &err)) { mutt_error (_("Bad IDN %s while preparing resent-from."), err); return -1; } rfc822_write_address (resent_from, sizeof (resent_from), from, 0);
int mutt_bounce_message (FILE *fp, HEADER *h, ADDRESS *to){  ADDRESS *from;  const char *fqdn = mutt_fqdn (1);  char resent_from[STRING];  int ret;  resent_from[0] = '\0';  from = mutt_default_from ();  if (fqdn)    rfc822_qualify (from, fqdn);  rfc2047_encode_adrlist (from, "Resent-From");    rfc822_write_address (resent_from, sizeof (resent_from), from);  ret = _mutt_bounce_message (fp, h, to, resent_from, from);  rfc822_free_address (&from);  return ret;}