OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
back_aws-ses
/
vendor
/
wildbit
/
postmark-php
/
src
/
Postmark
/
Models
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:22 AM
rwxr-xr-x
📄
CaseInsensitiveArray.php
2.67 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
DataRemovalRequestResponse.php
785 bytes
05/19/2025 10:07:22 AM
rw-r--r--
📄
DynamicResponseModel.php
1.95 KB
05/19/2025 10:07:22 AM
rw-r--r--
📁
MessageStream
-
05/19/2025 10:07:22 AM
rwxr-xr-x
📄
PostmarkAddressFull.php
1.43 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkAgentInfo.php
1.1 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkAttachment.php
1.57 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkBounce.php
6.51 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkBounceActivation.php
1.08 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkBounceDump.php
450 bytes
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkBounceList.php
1.03 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkBounceSummary.php
1.07 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkClick.php
3.52 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkClickList.php
1.12 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkDeliveryStats.php
1.08 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkDomain.php
2.29 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkDomainDetails.php
5.41 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkDomainList.php
1.04 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkException.php
1.11 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkGeographyInfo.php
2.54 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkInboundMessage.php
9.66 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkInboundMessageList.php
1.27 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkInboundRuleTrigger.php
759 bytes
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkInboundRuleTriggerList.php
1.16 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkMessage.php
1.22 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkMessageBase.php
4.44 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkMessageDump.php
415 bytes
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkMessageEvent.php
1.74 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkMessageEventDetails.php
3.63 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkMessageEvents.php
799 bytes
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkOpen.php
3.2 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkOpenList.php
1.1 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkOutboundMessage.php
4.28 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkOutboundMessageDetail.php
1.73 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkOutboundMessageList.php
1.18 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkResponse.php
2.44 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkSenderSignature.php
12.03 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkSenderSignatureList.php
1.24 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkServer.php
8.25 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkServerList.php
1.14 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkTemplate.php
3.74 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
PostmarkTemplateList.php
1.18 KB
05/19/2025 10:07:22 AM
rw-r--r--
📁
Stats
-
05/19/2025 10:07:22 AM
rwxr-xr-x
📁
Suppressions
-
05/19/2025 10:07:22 AM
rwxr-xr-x
📄
TemplateValidationResponse.php
12.44 KB
05/19/2025 10:07:22 AM
rw-r--r--
📄
TemplatedPostmarkMessage.php
1.74 KB
05/19/2025 10:07:22 AM
rw-r--r--
📁
Webhooks
-
05/19/2025 10:07:22 AM
rwxr-xr-x
Editing: PostmarkAttachment.php
Close
<?php namespace Postmark\Models; use JsonSerializable; use ReturnTypeWillChange; class PostmarkAttachment implements JsonSerializable { private $name; private $mimeType; private $data; private $contentId; private function __construct($base64EncodedData, $attachmentName, $mimeType = 'application/octet-stream', $contentId = null) { $this->name = $attachmentName; $this->data = $base64EncodedData; $this->mimeType = $mimeType; $this->contentId = $contentId; } public static function fromRawData($data, $attachmentName, $mimeType = null, $contentId = null) { return new PostmarkAttachment(base64_encode($data), $attachmentName, $mimeType, $contentId); } public static function fromBase64EncodedData($base64EncodedData, $attachmentName, $mimeType = null, $contentId = null) { return new PostmarkAttachment($base64EncodedData, $attachmentName, $mimeType, $contentId); } public static function fromFile($filePath, $attachmentName, $mimeType = null, $contentId = null) { return new PostmarkAttachment(base64_encode(file_get_contents($filePath)), $attachmentName, $mimeType, $contentId); } #[ReturnTypeWillChange] public function jsonSerialize() { return [ 'Name' => $this->name, 'Content' => $this->data, 'ContentType' => $this->mimeType ? $this->mimeType : 'application/octet-stream', 'ContentId' => $this->contentId ? $this->contentId : $this->name, ]; } }