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

Add ability to clear "to" addresses #6

Open
coffeeshopped opened this issue May 2, 2011 · 1 comment
Open

Add ability to clear "to" addresses #6

coffeeshopped opened this issue May 2, 2011 · 1 comment
Milestone

Comments

@coffeeshopped
Copy link

It would be useful to have a method named clearRecipients() or something that would allow for the recipients (to, cc, bcc) to be cleared out. That way a single instance of the postmark class could be reused to send an email to a few people without them all being in the same email.

@Znarkus
Copy link
Owner

Znarkus commented May 2, 2011

Agree. But until I implement it, you could use ::to() which will will clear the "to" recipients.

https://github.com/Znarkus/postmark-php/blob/master/Postmark.php#L415

But I can't really recommend that, because the to() method is deprecated.

@Znarkus Znarkus closed this as completed May 2, 2011
@Znarkus Znarkus reopened this May 2, 2011
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

No branches or pull requests

2 participants