| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function getHeaders($from_name, $from_address, $reply_name, $reply_address) |
||
| 32 | { |
||
| 33 | $headers = ''; |
||
| 34 | $headers .= 'MIME-Version: 1.0' . "\r\n"; |
||
| 35 | $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; |
||
| 36 | $headers .= 'From: "' . $from_name . '" <' . $from_address . ">\r\n"; |
||
| 37 | $headers .= 'Return-Path: ' . $from_address . "\r\n"; |
||
| 38 | $headers .= 'Reply-to: "' . $reply_name . '" <' . $reply_address . ">\r\n"; |
||
| 39 | $version = phpversion(); |
||
| 40 | $headers .= 'X-Mailer: PHP/' . $version . "\r\n"; |
||
| 41 | return $headers; |
||
| 42 | } |
||
| 45 |