Skip to content

Commit

Permalink
fix: Position of Notice
Browse files Browse the repository at this point in the history
closes #31
  • Loading branch information
usernane committed Dec 24, 2024
1 parent 2589798 commit 4fe92a1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions webfiori/email/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,12 @@ private function setupBeoreTesting() {
$headersTable->addHeader('Attachments', $atts);
$this->invokeAfterSend();
$this->getDocument()->getBody()->insert(new HTMLNode('hr'), 0);
$this->getDocument()->getBody()->insert(new HTMLNode('p'), 0)->text('----Actual Email Starts After This Line----')->setStyle([
'font-weight' => '600'
$noticeLine = new HTMLNode('p');
$noticeLine->text('----Actual Message Starts After Next Line----')->setStyle([
'font-weight' => '600',
'color' => '#ef8068'
]);
$this->getDocument()->getBody()->insert($noticeLine, 0);
$this->getDocument()->getBody()->insert($headersTable, 0);
}
/**
Expand Down

0 comments on commit 4fe92a1

Please sign in to comment.