Corrected format default.

This commit is contained in:
Chris 2012-08-10 16:09:32 +01:00
parent 51b19d71da
commit bd9dcaea44

View File

@ -107,7 +107,7 @@ sub queue_message {
$args -> {"send_after"} += $args -> {"delay"} if($args -> {"delay"}); $args -> {"send_after"} += $args -> {"delay"} if($args -> {"delay"});
# FUTURE: potentially support other formats here. See also: https://www.youtube.com/watch?v=JENdgiAPD6c however. # FUTURE: potentially support other formats here. See also: https://www.youtube.com/watch?v=JENdgiAPD6c however.
$args -> {"format"} = "plain"; $args -> {"format"} = "text";
# Force required fields # Force required fields
return $self -> self_error("Email subject not specified") unless($args -> {"subject"}); return $self -> self_error("Email subject not specified") unless($args -> {"subject"});