Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Disable 76 chars linebreak in plainbody Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
schmidom
Newbie
Newbie


Joined: 04 May 2012
Location: Germany
Online Status: Offline
Posts: 1
Posted: 04 May 2012 at 2:32am | IP Logged Quote schmidom

Hallo,

we use mailbee to automatically compute emails in a c# application.
Some of the plain text mails we receive have large lines with more then 76 characters like this:

Mon Aug 13 00:00:00 CEST [kern.timed.adjust:info]: server '10.1.1.13' reports the appliance date is fast by 0.075 seconds which is more than timed.min_skew (0.050 seconds). Adjusting date.


If I download the mail (via IMAP) from the server this lines get broken down into chunks where each part is max. 76 characters long.

This is a huge problem for us because we have to analyse the complete lines. And removing the linebreaks is not an easy task ...

So is there any option to prevent the mailparser of adding the additional linebreaks?

Best regards
Dominik
Back to Top View schmidom's Profile Search for other posts by schmidom
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 04 May 2012 at 3:48am | IP Logged Quote Alex

MailMessage.MailTransferEncodingPlain must be MailTransferEncoding.QuotedPrintable

However, this is the default behavior, so it should already work this way (no line breaks) unless you changed MailMessage.MailTransferEncodingPlain from the default value.

regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 04 May 2012 at 4:10am | IP Logged Quote Alex

Sorry, for the first time missed that you're receiving, not sending emails. If emails are split by 76 chars by their composer, you'll need to fix this on composing side. MailBee does not split them during receiving.

regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
jielun172
Newbie
Newbie


Joined: 14 May 2012
Online Status: Offline
Posts: 1
Posted: 14 May 2012 at 2:45am | IP Logged Quote jielun172

Thank you for all the things learned came from here and congratulations for the good work.
Back to Top View jielun172's Profile Search for other posts by jielun172 Visit jielun172's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide