Maileon PHP client  1.2.5
Easily integrate your PHP application with Maileon.
Attachment.php
1 <?php
2 
7 {
8  public $filename;
9  public $mimetype;
10  public $data;
11 
18  function __construct($filename, $mimetype, $data)
19  {
20  $this->filename = $filename;
21  $this->mimetype = $mimetype;
22  $this->data = $data;
23  }
24 
25  function toString()
26  {
27  return "Attachment [filename=" . $this->filename . ", mimetype=(" . $this->mimetype . "), content=(" . $this->content . ")]";
28  }
29 }
__construct($filename, $mimetype, $data)
Definition: Attachment.php:18