function PHPMailer::FixEOL in SMTP Authentication Support 5
Same name and namespace in other branches
- 7.2 smtp.phpmailer.inc \PHPMailer::FixEOL()
- 7 smtp.phpmailer.inc \PHPMailer::FixEOL()
Changes every end of line from CR or LF to CRLF. @access private
Return value
string
3 calls to PHPMailer::FixEOL()
- PHPMailer::EncodeQP in ./
smtp.module - Encode string to quoted-printable. @access private
- PHPMailer::EncodeString in ./
smtp.module - Encodes string to requested format. Returns an empty string on failure. @access private
- PHPMailer::WrapText in ./
smtp.module - Wraps message for use with mailers that do not automatically perform wrapping and for quoted-printable. Original written by philippe. @access private
File
- ./
smtp.module, line 1957 - Enables drupal to send email directly to an SMTP server using authentication. Uses the PHPMailer class by Brent R. Matzelle.
Class
- PHPMailer
- PHPMailer - PHP email transport class @package PHPMailer @author Brent R. Matzelle @copyright 2001 - 2003 Brent R. Matzelle
Code
function FixEOL($str) {
$str = str_replace("\r\n", "\n", $str);
$str = str_replace("\r", "\n", $str);
$str = str_replace("\n", $this->LE, $str);
return $str;
}