Skip to content

Commit

Permalink
Merge pull request #31 from experius/bugfix/PGW-228_fixGettersSetters
Browse files Browse the repository at this point in the history
[BUGFIX][PGW-228] Fix more getters and setters
  • Loading branch information
Derrick Heesbeen authored Sep 2, 2019
2 parents dfe1ed9 + a928983 commit 1987837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Model/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function sendMessage($emailCatcherId, $alternativeToAddress)
$recipient = ($alternativeToAddress) ? $alternativeToAddress : $emailCatcher->getRecipient();

$message->setMessageType('html');
$message->setFrom($emailCatcher->getFrom());
$message->setFrom($emailCatcher->getSender());
$message->addTo($recipient);
$message->setBodyHtml($emailCatcher->getBody());
$message->setSubject(mb_encode_mimeheader($emailCatcher->getSubject()));
Expand Down
4 changes: 2 additions & 2 deletions Ui/Component/Listing/Column/EmailcatcherActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public function prepareDataSource(array $dataSource)
),
'label' => __('Resend'),
'confirm' => [
'title' => __('Resend email to "${ $.$data.to }"'),
'message' => __('Are you sure you wan\'t resend this email to "${ $.$data.to }"?')
'title' => __('Resend email to "${ $.$data.recipient }"'),
'message' => __('Are you sure you wan\'t resend this email to "${ $.$data.recipient }"?')
]
],
'forward' => [
Expand Down

0 comments on commit 1987837

Please sign in to comment.