Skip to content

Change Result Response#21

Merged
byjg merged 6 commits into
byjg:masterfrom
icarofgomes:change-result-response
Sep 9, 2025
Merged

Change Result Response#21
byjg merged 6 commits into
byjg:masterfrom
icarofgomes:change-result-response

Conversation

@icarofgomes
Copy link
Copy Markdown
Contributor

This update modifies the email sending response to return an object containing the message ID instead of just a boolean.

By returning the message ID, this change enables easier tracking and reuse of each sent message's unique identifier for subsequent operations such as status checks, logging, or integrations with other systems.

This improvement provides better control and traceability over outbound emails, making the system more robust and extensible.

Copy link
Copy Markdown
Owner

@byjg byjg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to have tests to validate the sendrequest results.

Comment thread src/SendResult.php Outdated
Comment thread src/Wrapper/AmazonSesWrapper.php Outdated
Comment thread src/Wrapper/MailgunApiWrapper.php
Comment thread src/Wrapper/PHPMailerWrapper.php
Copy link
Copy Markdown
Owner

@byjg byjg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes

@icarofgomes icarofgomes requested a review from byjg September 8, 2025 23:10
@byjg byjg merged commit f78c82f into byjg:master Sep 9, 2025
4 checks passed
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 this pull request may close these issues.

2 participants