Body: <p>Crossposting from <a href="https://chat.civicrm.org" rel="nofollow noreferrer">https://chat.civicrm.org</a> town-square channel in case anyone here has seen this possible bug.</p>
  <p>Hey all - upgrade to 5.56.0 on WP seems to have introduced a bug in scheduled mail via cron. Test e-mails work fine but all e-mail sent via the scheduler comes through with misinterpreted encoding like:</p>
  <p>--=_001d42344260fbe283874768193e6dd0
  Content-Transfer-Encoding: 8bit
  Content-Type: text/plain; charset=utf-8</p>
  <p>DearÂ Geof Newton,</p>
  <p>The From: address also gets munged - anyone else seeing a similar issue or worked through a fix?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-12-10T17:41:36.530Z
Comments.Text: I asked a followup question in town-square chat: Is that coming from a token - check your greeting token settings.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-12-12T04:11:04.640Z
Comments.Text: Problem resolved - it seems to have been an issue with the latest FlexMailer version that was delivered with 5.56.0. I disabled FlexMailer and re-enabled and it cleared up the encoding glitch.
Comments.UserDisplayName: Geof Newton
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-12-13T19:31:20.817Z
Comments.Text: I take that back - FlexMailer subsequently caused the site to error; removed and reinstalled FlexMailer extension, fully reinstalled the 5.56.0 release, tried BAO vs. Flex engines - scheduled e-mails are still incorrectly encoded and have a bad From: address.
Comments.UserDisplayName: Geof Newton
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-12-13T23:52:05.250Z
Comments.Text: Updated mail settings to use SMTP instead of mail() and tokens, HTML and in-line images are rendered correctly. Apparently the FlexMailer integration with the localhost mail function isn't working correctly?
Comments.UserDisplayName: Geof Newton
Tags: <civimail><cron>
Title: Scheduled e-mails sent with wrong encoding
ThreadText: # Scheduled e-mails sent with wrong encoding
  
  (Asked by: username_0 on 2022-12-10)
  
  Crossposting from <https://chat.civicrm.org> town-square channel in case anyone here has seen this possible bug.
  
  Hey all - upgrade to 5.56.0 on WP seems to have introduced a bug in scheduled mail via cron. Test e-mails work fine but all e-mail sent via the scheduler comes through with misinterpreted encoding like:
  
  --=\_001d42344260fbe283874768193e6dd0
  Content-Transfer-Encoding: 8bit
  Content-Type: text/plain; charset=utf-8
  
  DearÂ username_0 username_0,
  
  The From: address also gets munged - anyone else seeing a similar issue or worked through a fix?
  
  **Tags:** civimail, cron
  
  > **Comments:**
  > **username_1**: I asked a followup question in town-square chat: Is that coming from a token - check your greeting token settings.  
  > **username_0**: Problem resolved - it seems to have been an issue with the latest FlexMailer version that was delivered with 5.56.0. I disabled FlexMailer and re-enabled and it cleared up the encoding glitch.  
  > **username_0**: I take that back - FlexMailer subsequently caused the site to error; removed and reinstalled FlexMailer extension, fully reinstalled the 5.56.0 release, tried BAO vs. Flex engines - scheduled e-mails are still incorrectly encoded and have a bad From: address.  
  > **username_0**: Updated mail settings to use SMTP instead of mail() and tokens, HTML and in-line images are rendered correctly. Apparently the FlexMailer integration with the localhost mail function isn't working correctly?  
  
  ---
  
  ## 0 answers
  
  