SMTP-Problem

HSchubertHSchubert Member Posts: 16
I tried to send E-Mails via CU 400 / SMTP using a HTML-template filled with some specific data.

Sending in-house works fine ! :)

But if i try to send the mail to a recipient outside i get the error message from the mailing-System: 5.5.0 smtp;500 Line limit exceeded.

Sending only some lines of text works !

Can anyone help me ?

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    You need to make sure the length of each line does not exceed 500 characters.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • HSchubertHSchubert Member Posts: 16
    You need to make sure the length of each line does not exceed 500 characters.

    Reading the HTML-template i use AppendBody(Body) - function

    this will be made at least all 400 characters.

    i think my Problem is to tell the smtp-server, that a new line begins. but how to do ? is this a specific html-code ?

    Thanks

    Hermann Schubert.
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    In function CreateMessage the last parameter tells the system if it is a HTML message or just plain text. Line breaks in HTML are represented by <br>, not sure if that helps.
    I never count the number of characters in our emails but as we send big HTML tables I would assume that it is more than 500. So, it should be possible using AppendBody.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.