system/vendor/swift/Swift/Message/Attachment.php 1 location
|
@@ 96-103 (lines=8) @@
|
93 |
|
* @return string |
94 |
|
* @throws Swift_Message_MimeException If some vital headers have been removed |
95 |
|
*/ |
96 |
|
public function getFileName() |
97 |
|
{ |
98 |
|
if ($this->headers->hasAttribute("Content-Type", "name")) |
99 |
|
{ |
100 |
|
return $this->headers->getAttribute("Content-Type", "name"); |
101 |
|
} |
102 |
|
else return null; |
103 |
|
} |
104 |
|
/** |
105 |
|
* Set the Content-Description header |
106 |
|
* @param string The description in the header (filename usually!) |
system/vendor/swift/Swift/Message.php 1 location
|
@@ 424-432 (lines=9) @@
|
421 |
|
* Check if the message format is set as flowed |
422 |
|
* @return boolean |
423 |
|
*/ |
424 |
|
public function isFlowed() |
425 |
|
{ |
426 |
|
if ($this->headers->hasAttribute("Content-Type", "format") |
427 |
|
&& $this->headers->getAttribute("Content-Type", "format") == "flowed") |
428 |
|
{ |
429 |
|
return true; |
430 |
|
} |
431 |
|
else return false; |
432 |
|
} |
433 |
|
/** |
434 |
|
* Set the message prioirty in the mail client (don't rely on this) |
435 |
|
* @param int The priority as a value between 1 (high) and 5 (low) |