|
@@ -9,6 +9,7 @@ use warnings;
|
|
|
sub new {
|
|
sub new {
|
|
|
my $class = shift;
|
|
my $class = shift;
|
|
|
my $text_body = 'HOLY CRAP THE AUTO-LAYOFF THING TRIGGERED';
|
|
my $text_body = 'HOLY CRAP THE AUTO-LAYOFF THING TRIGGERED';
|
|
|
|
|
+ my $html_body = "<p>$text_body</p>";
|
|
|
my $self = {
|
|
my $self = {
|
|
|
'contact' => {
|
|
'contact' => {
|
|
|
'XMPPUSERNAME' => 'mr_t@a-team.gov',
|
|
'XMPPUSERNAME' => 'mr_t@a-team.gov',
|
|
@@ -23,6 +24,7 @@ sub new {
|
|
|
'args' => {
|
|
'args' => {
|
|
|
'subject' => 'cPanel on Drugs',
|
|
'subject' => 'cPanel on Drugs',
|
|
|
'text_body' => \$text_body, #nutty, I know
|
|
'text_body' => \$text_body, #nutty, I know
|
|
|
|
|
+ 'html_body' => \$html_body,
|
|
|
'to' => [ 'cronspam@dev.null' ],
|
|
'to' => [ 'cronspam@dev.null' ],
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|