Article View: borland.public.cppbuilder.internet.socket
Article #2694Re: Bare LFs in SMTP
From: Hans Galema
Date: Thu, 09 Feb 2006 13:18
Date: Thu, 09 Feb 2006 13:18
29 lines
2341 bytes
2341 bytes
Mark Jacobs wrote: > Remy, even the simplified code is overly complicated. An email component > is supposed to hold your hand, not bite it off! This is why I steer > clear of Indy, and program at ClientSocket level - my code is much cleaner. All is about the interface which should be simple. How about this this ? TMyMail *MyMail = new TMyMail; MyMail->PlainText = ...; //TStrings or filename MyMail->HtmlText = ...; //TStrings or filename MyMail->AddInlineAttachment ( inlinefilename1 ) MyMail->AddInlineAttachment ( inlinefilename2 ) MyMail->AddInlineAttachment ( inlinefilename3 ) MyMail->AddAttachment ( filename1 ) MyMail->AddAttachment ( filename2 ) MyMail->AddAttachment ( filename3 ) MyMail->AddAttachment ( filename4 ) MyMail->SaveToFile ( ......eml ); delete MyMail; Hans.
Technical Details
Message-ID:
<43eb40e6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43d80b2b$1@newsgroups.borland.com> <43d81c0d$1@newsgroups.borland.com> <43d8ce05@newsgroups.borland.com> <43d912e0$1@newsgroups.borland.com> <43d96959@newsgroups.borland.com> <43d97297@newsgroups.borland.com> <43da1e0d@newsgroups.borland.com> <43da6e72$1@newsgroups.borland.com> <43dccb8e@newsgroups.borland.com> <43ddbb09$1@newsgroups.borland.com> <43e24225$1@newsgroups.borland.com> <43e3a59d$1@newsgroups.borland.com> <43e3ce90$1@newsgroups.borland.com> <43e3ecf8$1@newsgroups.borland.com> <43eb24a7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c40bbd54da4c4431 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 09 Feb 2006 14:18:11 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Bare LFs in SMTP References: <43d80b2b$1@newsgroups.borland.com> <43d81c0d$1@newsgroups.borland.com> <43d8ce05@newsgroups.borland.com> <43d912e0$1@newsgroups.borland.com> <43d96959@newsgroups.borland.com> <43d97297@newsgroups.borland.com> <43da1e0d@newsgroups.borland.com> <43da6e72$1@newsgroups.borland.com> <43dccb8e@newsgroups.borland.com> <43ddbb09$1@newsgroups.borland.com> <43e24225$1@newsgroups.borland.com> <43e3a59d$1@newsgroups.borland.com> <43e3ce90$1@newsgroups.borland.com> <43e3ecf8$1@newsgroups.borland.com> <43eb24a7@newsgroups.borland.com> In-Reply-To: <43eb24a7@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <43eb40e6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1139491046 145.98.201.248 (9 Feb 2006 05:17:26 -0700) Lines: 29 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail