Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add sendTransactionMail method #21

Closed
xiCO2k opened this issue Sep 14, 2023 · 1 comment · Fixed by #23
Closed

feat: Add sendTransactionMail method #21

xiCO2k opened this issue Sep 14, 2023 · 1 comment · Fixed by #23
Assignees

Comments

@xiCO2k
Copy link

xiCO2k commented Sep 14, 2023

Hey,

I'm have the need to send a transactional mail from my system and looks like there is no method for that.

Right now I'm using this:

    /**
     * @param  array<string, string>  $replacements
     */
    public function sendTransactionMail(string $name, string $from, string $to, array $replacements): void
    {
        $this->post('transactional-mails/send', [
            'mail_name' => $name,
            'from' => $from,
            'to' => $to,
            'replacements' => $replacements,
        ]);
    }

But looks like we should have a method on sdk for that.

Thanks. ❤️

@Nielsvanpach
Copy link
Member

Released in 1.3.0

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 a pull request may close this issue.

2 participants