NAME
Mail::MIMEDefang::Unit - Methods used by MIMEDefang regression tests
DESCRIPTION
Mail::MIMEDefang::Unit are a set of methods that are called from MIMEDefang regression tests.
METHODS
-
include_mimedefang
Method that includes
mimedefang.pl.incode without running anything. -
smtp_mail
Method which sends a test email and returns SMTP replies.
-
get_abs_path
Method which returns the absolute path of a file by reading $PATH.
-
tap_found
Method which feeds the given chunks through a
Mail::MIMEDefang::MIME::Base64::Tapand returns whether data after base64 padding was found. -
parse_string
Method which parses a message held in a string and returns the
MIME::Parserand the resultingMIME::Entity. -
base64_message
Method which returns a multipart test message with an attachment whose base64 body is the given string.