An SMTP message is made up of a series of headers, followed by a blank line, followed by the body of the message. Just putting a blank line in your Perl source code is not sufficient to put a blank line in the e-mail message...
This is correct, but he does have two \n 's after his subject line, which would be sufficent. Otherwise excellent advice. Regards,