---
name: "Mail::MIMEDefang::Unit"
section: "3"
platform: "linux"
package: "mimedefang"
version: "3.6-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Mail::MIMEDefang::Unit"
---

# Mail::MIMEDefang::Unit(3)

Methods used by MIMEDefang regression tests

## 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.in* code 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`.
