1Mail::MIMEDefang::MIMEM(a3i)l::MIMEDefang::MIME DocumentatMiaoinl::MIMEDefang::MIME(3)
2
3
4

NAME

6       Mail::MIMEDefang::MIME - MIME objects interface methods for email
7       filters
8

DESCRIPTION

10       Mail::MIMEDefang::MIME are a set of methods that can be called from
11       mimedefang-filter to operate on MIME objects.
12

METHODS

14       collect_parts
15           Method that adds parts to the array @FlatParts for flattening.
16
17       takeStabAtFilename ( $entity )
18           Makes a guess at a filename for the attachment.  Calls MIME::Head's
19           recommended_filename() method, which tries
20           'Content-Disposition.filename'and if not found,
21           'Content-Type.name'.
22
23           Returns a MIME-decoded filename, or a blank string if none found.
24
25       find_part
26           Method that returns the first MIME entity of type $content_type,
27           "undef" if none exists.
28
29       append_to_part
30           Method that appends text to $part
31
32       remove_redundant_html_parts
33           Method that rebuilds the email message without redundant HTML
34           parts.  That is, if a multipart/alternative entity contains
35           text/plain and text/html parts, the text/html part will be removed.
36
37       append_to_html_part
38           Method that appends text to the spicified mime part, but does so by
39           parsing HTML and adding the text before </body> or </html> tags.
40
41       append_text_boilerplate
42           Method that appends text to text/plain part or parts.
43
44       append_html_boilerplate
45           Method that appends text to text/html part or parts.  It tries to
46           be clever and inserts the text before the </body> tag to be able of
47           being seen.
48
49       anonymize_uri
50           Anonymize urls by removing all utm_* parameters, takes the message
51           part as parameter and returns a boolean value if the sub succeeded
52           or not.
53
54
55
563.3                               2023-01-18         Mail::MIMEDefang::MIME(3)
Impressum