<commit_before>1/ in the SMTP transport, connect() uses $_SERVER['SERVER_ADDR'] for the
HELO.  This fails miserably under CLI or CGI when run from the command
line, because it isn't set to anything meaningful.

<b>Fatal error</b>:  Uncaught exception 'Zend_Mail_Transport_Exception' with
message '501 5.5.2 invalid HELO'

2/ also in the SMTP transport, the sendMail() method accepts a $subject
parameter, but this is unused.

3/ SMTP transport again; the communication timeout of 2 seconds is way
too low.  I suggest increasing it to at least 30.  Some systems perform
expensive processing that may require even longer timeout durations.

4/ Zend_Mail::_encodeHeader; needs to replace any '?' characters in
$quotedValue with '=3F'. Otherwise, question marks in the header will
break the encoding.<commit_msg>all TODOs have been solved<commit_after>./.
{'fraction_non_alphanumeric': 0.07050528789659224, 'fraction_numerical': 0.01645123384253819, 'mean_word_length': 4.875862068965517, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7027822', 'n_tokens_mistral': 242, 'n_tokens_neox': 230, 'n_words': 118}