Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Dealing with email subject lines greater than 65 characters...

 [1/3] from: edanaii::cox::net at: 8-Jun-2002 7:47


I've modified the REBOL MailSniff program to scan a mailbox and print the subject line. The problem is, for subject lines over 65 characters in length, REBOL appears to be inserting a space in the 66th position. Kinda like this: [REBOL] Dealing with email subject lines greater than 65 characte rs... I've fixed it by inserting this line into the code: Join (Copy/Part Mail/Subject 65) (Copy/Part At Mail/Subject 67 100) It solves the problem of the moment, but if this bug ever gets fixed, then I'm gonna loose the 66th character needlessly. Anyone got any better ideas on how to fix this? Just wondering... -- Sincerely, | Ed Dana | Courage is fear holding on a minute longer. Software Developer | -- General George S. Patton 1Ghz Athlon Amiga |

 [2/3] from: amicom:sonic at: 8-Jun-2002 23:49


Ed, How about: all [ mail/subject/66 = #" " remove at mail/subject 66 ] This way, the most you will be losing is a space if this behavior ever changes. Hope this helps! -Bo Lechnowsky Technical Consulting At 07:47 AM 6/8/02 -0700, you wrote:

 [3/3] from: edanaii:cox at: 9-Jun-2002 8:34


Bohdan or Rosemary Lechnowsky wrote:
> Ed, > How about:
<<quoted lines omitted: 5>>
> changes. > Hope this helps!
It do. Thanks. -- Sincerely, | Life is pain, Highness. Anyone who says Ed Dana | differently is selling something. Software Developer | -- The Princess Bride. 1Ghz Athlon Amiga |

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted