Rev 1186 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1186 | Rev 1345 | ||
---|---|---|---|
Line 175... | Line 175... | ||
175 | foreach ($bcc as $x) $h->addHeader('Bcc', $x); |
175 | foreach ($bcc as $x) $h->addHeader('Bcc', $x); |
176 | 176 | ||
177 | $h->addHeader('X-Mailer', 'PHP/'.PHP_VERSION); |
177 | $h->addHeader('X-Mailer', 'PHP/'.PHP_VERSION); |
178 | 178 | ||
179 | // DM 14.04.2022: Commented out because of privacy |
179 | // DM 14.04.2022: Commented out because of privacy |
- | 180 | // $cur_ip = OIDplus::getClientIpAddress(); |
|
180 | //if (isset($_SERVER['REMOTE_ADDR'])) $h->addHeader('X-RemoteAddr', $_SERVER['REMOTE_ADDR']); |
181 | //if ($cur_ip !== false) $h->addHeader('X-RemoteAddr', $cur_ip); |
181 | 182 | ||
182 | $h->addHeader('MIME-Version', '1.0'); |
183 | $h->addHeader('MIME-Version', '1.0'); |
183 | 184 | ||
184 | // DM 14.04.2022: Changed from "ISO-8859-1" to "UTF-8" |
185 | // DM 14.04.2022: Changed from "ISO-8859-1" to "UTF-8" |
185 | $h->addHeader('Content-Type', 'text/plain; charset=UTF-8'); |
186 | $h->addHeader('Content-Type', 'text/plain; charset=UTF-8'); |