IPrice minimart
powerfull & flexible online Store, price-lists and catalogs for Joomla
Welcome, Guest
Username: Password: Remember me

TOPIC: Mail error: 550 Maximum line length exceeded **SOLVED**

Mail error: 550 Maximum line length exceeded **SOLVED** 8 years 11 months ago #2648

  • Dekker
  • Dekker's Avatar
  • Offline
  • Новый участник
  • Posts: 1
  • Karma: 0
Hello,
I installed iPrice light on my J3 site but I get mail delivery errors.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
**email address**

SMTP error from remote mail server after end of data:
host outbound.mailspamprotection.com [108.163.220.50]:
550 Maximum line length exceeded (see RFC 5322 2.1.1).

I have no influence on the mail layout itself. It's just a test installation with one category and two items. 'item-1'and ítem'-2' without images and three words of description text. So very simple.


After a few hours debugging I found the problem and the solution.

<<<< SOLUTION >>>>


Accordeons to my ISP an documenten on the internet the lenght of the email is too long.
If you put line breaks (\n\r) into the problem is solved.

I made the next adjustment in
administrator/components/com_ipricecalc/helpers/orderhtml.php

Line 89-99

Original
$html .= '<div style="font-family: Tahoma, Helvetica, sans-serif; width:100%;">';
$html .= '<div style="font-size:14px; line-height:22px; width:100%;">';
$html .= '<span style="font-size:20px; font-weight:bold;">'.JText::_('Order_num').' '.$order->orderno.'</span></br></br>';
$html .= JText::_('Order_date').' '.JHTML::_('date', $order->orderdate, JText::_('DATE_FORMAT_LC4') ).'</br>';
if ($order->firm)
$html .= JText::_('Order_company').' '.$order->firm.'</br>';
$html .= JText::_('Order_person').' '.$order->fio.'</br>';
$html .= JText::_('Order_email').' '.$order->email.'</br>';
$html .= JText::_('Order_phone').' '.$order->phone.'</br>';
$html .= '<p>'.JText::_('Order_comments').' '.$order->comments.'</p></br>';
$html .= '</div>';



Replaced with
$html .= '<div style="font-family: Tahoma, Helvetica, sans-serif; width:100%;">';
$html .= '<div style="font-size:14px; line-height:22px; width:100%;">';
$html .= '<span style="font-size:20px; font-weight:bold;">'.JText::_('Order_num').' '.$order->orderno.'</span><br /><br />'."\r\n";
$html .= JText::_('Order_date').' '.JHTML::_('date', $order->orderdate, JText::_('DATE_FORMAT_LC4') ).'<br />';
if ($order->firm)
$html .= JText::_('Order_company').' '.$order->firm.'<br/>'."\r\n";
$html .= JText::_('Order_person').' '.$order->fio.'<br />'."\r\n";
$html .= JText::_('Order_email').' '.$order->email.'<br />'."\r\n";
$html .= JText::_('Order_phone').' '.$order->phone.'<br />'."\r\n";
$html .= '<p>'.JText::_('Order_comments').' '.$order->comments.'</p><br />'."\r\n";
$html .= '</div>';
Last Edit: 8 years 10 months ago by Dekker.
Login or register to post message.

Mail error: 550 Maximum line length exceeded **SOLVED** 8 years 6 months ago #2936

  • ajw3208
  • ajw3208's Avatar
  • Offline
  • Новый участник
  • Posts: 12
  • Karma: 0
hi,

I too am experiencing this issue.

could the suggestion be baked into the base product pls. The spam filters in ISP are getting very fussy, and this problem is now a real issue
Login or register to post message.
Moderators: support

Subscribe



Subscribe to our newsletter and social networks to be updated with the latest updates.

Login