Skip to content

Postageapp mangles Rails' mail object. Shouldn't. #12

@GBH

Description

@GBH

Right now this gems hijacks most of the mail construction. This causes tons of issues with things like previews, interceptors and whatever else Rails is doing (plus comparability with other libraries that do things to email). You can bet that Rails 5 will break this gem again.

Better approach would be to let Rails construct whatever it needs and only catch mail object when there's an attempt to deliver. Then you can disassemble mail object to construct our API call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions