Skip to content

send_email_with_template appears gone? #20

Closed
@nipunn1313

Description

See comment here:
https://github.com/pastjean/postmark-rs/pull/13/files#r1314417921

I tried this code:

let req = SendEmailWithTemplateRequest::builder();

I expected to see this happen: exists/compiles

Instead, this happened:

 --> crates/emailer/src/lib.rs:6:9
  |
6 |         SendEmailWithTemplateRequest,
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SendEmailWithTemplateRequest` in `api::email`
7 |         TemplateModel,
  |         ^^^^^^^^^^^^^ no `TemplateModel` in `api::email`

I think the ability to send emails with templates was removed, possibly by accident? Seems like the file with the code is there, but the mod and pub use lines were removed.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions