NAME
Punk::Mailer::Transport::Capture - the capture transport
DESCRIPTION
See "capture" in Punk::Mailer::Transport for what it does and its options. Punk::Mailer's new constructs it; the methods below are the transport contract plus what this one adds.
new(\%options)
deliver(\%message, \%envelope)
Returns a Punk::Mailer::Result.
name
capture.
messages
The captured messages, oldest first: [ { spec, envelope, bytes, result }, ... ].
clear
Empties messages.
dir
last_path
The directory, if one was given, and the file the newest message was written to.