realbasic-nug
[Top] [All Lists]

Re: SMTP Format help needed

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: SMTP Format help needed
From: Eric de La Rochette <rblists@edlr.fr>
Date: Wed, 30 Jul 2008 23:56:55 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <D03A60F5-C52C-4824-8F85-96A06579A84A@tolisgroup.com>
References: <D03A60F5-C52C-4824-8F85-96A06579A84A@tolisgroup.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

Le 30 juil. 08 à 23:37, Tim Jones a écrit :

Mail.BodyPlainText = ReplaceLineEndings(MailBody, EndOfLine.Macintosh, EndOfLine.Windows)

Isn't the ReplaceLineEndings function supposed to take 2 parameters ?
like:
    result = ReplaceLineEndings( SourceString, LineEnding )

I've also tried specifying Chr(13)+Chr(10) in case EndOfLine.Windows wasn't getting processed


Did you try

Mail.BodyPlainText = ReplaceLineEndings(MailBody, Encodings.ISOLatin1.Chr(13) + Encodings.ISOLatin1.Chr(10))

Just a thought, not a certitude.

Eric.





_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>