Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Email generation process #7

Description

@sagikazarmark

Since Message has been decoupled from Transport it is possible to reuse both components. To make it possible after sending a message both Message and Transport should be untouched or returned in their original state. Therefore all the building and generation process should be achieved by any of the following way:

  • Use of subsequent function calls which returns a string at the end with the actual message to be sent
  • Create an internal Composer object which stores all generated content. (Again STORES, everything else is done by the Transport) This object can be thrown away at the end.
  • Use Message class as storage and "reset" it at the end. (Use a clone as storage)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions