sofn-xyz / mailing

Build, test, send emails with React
https://www.mailing.run
MIT License
3.6k stars 74 forks source link

/api/sendMail only sends with `defaultFrom` #479

Open maxaggedon opened 11 months ago

maxaggedon commented 11 months ago

Describe the bug from option is correctly shown in intercept but not used

To Reproduce Steps to reproduce the behavior:

  1. Use /api/sendMail endpoint with a from
  2. Force send if in preview mode
  3. Actual email has the defaultFrom value as From header

Expected behavior If specified, from field should be used

Desktop (please complete the following information):