Logwatch emails are impacted by this on DNSOnly. Sure, those running DNSOnly should be capable of fixing this manually but there is absolutely a legitimate case.Can you get me more detail on why it would be necessary to make that change on a DNSOnly machine? If I can get a good use case, I can always make a case with our developers to get the functionality added.
I was under the impression that the latest updates fixed this.@steven059 - have you adjusted the configuration options mentioned?
Yeah... great site:I had this problem and found it was the length of the body of the email. Using HTML emails, the issue of going longer than 70 characters, is quite easy. I wrote a blog on it to explain. In short add this line to your php code:
$message = wordwrap($message, 70, “\r\n”);
More explanations here:
/**
*
*
* @param string $text
*/
public function setText($text) {
$this->text = $text;
}
/**
*
*
* @param string $html
*/
public function setHtml($html) {
$this->html = $html;
}
/**
*
*
* @param string $text
*/
public function setText($text) {
$text = str_replace("\n","\r\n",$text);
$text = wordwrap($text, 70, "\r\n");
$this->text = $text;
}
/**
*
*
* @param string $html
*/
public function setHtml($html) {
$html = str_replace("\n","\r\n",$html);
$html = str_replace(">",">\r\n",$html);
$html = wordwrap($html, 70, "\r\n");
$this->html = $html;
}
$message .= base64_encode($this->html) . $eol;
$message .= chunk_split(base64_encode($this->html)) . $eol;
I've been having this problem for awhile, with Perl scripts sending to Gmail (no Outlook, no PHP). I found this thread while researching the problem.The most recent update gives you the option of changing the line length to a very large number, up to 1000000. You'll see the option listed in WHM >> Exim Configuration Manager under "Maximum line length for SMTP transports (Minimum: 1; Maximum: 1,000,000)"
Yes, i did it ... but no success .. please , if you have any other solution let me know it.@AlbertoFX - have you already changed the default value?
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
H | SOLVED Problem sending mail between cPanel servers | 3 | ||
C | Problems receiving mail from a remote cPanel server | 2 | ||
L | Problems between Cpanel mail and microsoft mail (outlook, hotmail, office365) | 7 | ||
E | Outgoing email problem on Cpanel 92 | 3 | ||
M | problem Fix cPanel LMTP error after RCPT TO | 11 |