Subject: | subject element not documented |
Hi!
It seems you forgot to document the subject element in AxKit::XSP::Sendmail... But since using the element actually works, I think it is just a documentation bug, and I hereby submit a patch against the current CVS. It is my first real attempt at submitting a patch against other people's CVS managed code, so I hope it is easy to apply.
While I was at it, I added some indentation to the first line in the example, so that it will too become a part of the verbatim POD paragraph, it'll look better.
Cheers,
Kjetil
--- Sendmail.pm 2004-04-02 12:22:13.000000000 +0200
+++ Sendmail-1.14.pm 2004-04-02 12:33:18.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Sendmail.pm,v 1.13 2001/07/04 18:42:49 matt Exp $
+# $Id: Sendmail.pm,v 1.14 2004/04/02 12:33:45 matt Exp $
package AxKit::XSP::Sendmail;
use strict;
@@ -247,6 +247,10 @@
Allows you to add headers to the outgoing mail with the name specified
in the C<name> attribute.
+=head2 C<<sendmail:subject>>
+
+Sets the Subject header of the outgoing message.
+
=head2 C<<sendmail:body>>
Defines the body of the outgoing message.
@@ -257,7 +261,7 @@
=head1 EXAMPLE
-my $mail_message = 'I\'m a victim of circumstance!';
+ my $mail_message = 'I\'m a victim of circumstance!';
<sendmail:send-mail>
<sendmail:from>curly@localhost</sendmail:from>