Skip to content

Conversation

@cmer
Copy link

@cmer cmer commented Jun 7, 2025

  • Add open_in_browser attribute to Configuration class with default value true
  • Support boolean values (true/false) to enable/disable browser opening
  • Support callable/proc values for dynamic conditional opening based on email properties
  • Update DeliveryMethod to respect open_in_browser setting before calling Launchy.open
  • Add comprehensive test coverage for all open_in_browser scenarios
  • Maintain backward compatibility with existing behavior

cmer and others added 2 commits June 7, 2025 10:19
…pening

- Add open_in_browser attribute to Configuration class with default value true
- Support boolean values (true/false) to enable/disable browser opening
- Support callable/proc values for dynamic conditional opening based on email properties
- Update DeliveryMethod to respect open_in_browser setting before calling Launchy.open
- Add comprehensive test coverage for all open_in_browser scenarios
- Maintain backward compatibility with existing behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add detailed configuration examples for open_in_browser option
- Show boolean usage (true/false) and callable/proc examples
- Update Non Rails Setup examples to include open_in_browser option
- Document usage with Mail, Pony, and ActionMailer configurations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@cmer
Copy link
Author

cmer commented Jun 7, 2025

For context, I use this in conjunction with letter_opener_web. I just don't want every email to open in my browser all the time, especially not when I "send" hundreds of emails at once in development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant