Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sendEmail
Original file line number Diff line number Diff line change
Expand Up @@ -1821,6 +1821,9 @@ $message =~ s/(\015)(\012|$)?/\015\012/g;
## Check message for bare periods and encode them
$message =~ s/(^|$CRLF)(\.{1})($CRLF|$)/$1.$2$3/g;

## Check message for lines that begin with a period and stuff them
$message =~ s/(^|$LTERM)\./$1../g;

## Get the current date for the email header
my ($sec,$min,$hour,$mday,$mon,$year,$day) = gmtime();
$year += 1900; $mon = return_month($mon); $day = return_day($day);
Expand Down