Skip to content

Send result #80

@kereal

Description

@kereal

Hi, I'm using carbon with smtp adapter.

How can I get the result of sending a message?

Method "deliver" return useless "{"221", ["2.0.0 Closing connecton"]}"

Email client returns true or false
https://github.com/arcage/crystal-email/blob/2f6ee366e6fd2ea24ed1df484eaab39e19ffdc0b/src/email/client.cr#L186

Maybe it's worth returning this result from the adapter and this method?

def deliver

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