Thanks for the info. I might try saving the data as files and see how that goes. I am always a bit nervous of doin gthat when I don't have control of the filenames.
On Tue, 24 Mar 2015 11:17 +0000 (GMT Standard Time), you wrote: > > I have some old (but active) code that sends emails via TSmtpCli. It > > uses an old ICS that uses the MimeBoundary property. Now porting to > > Delphi XE3 I am using a recent ICS and MimeBoundary has gone. It > > looks like I can do what I want with THttpSmtpCli. The EmailFiles > > property allows me to attach files - is there a way to attach files > > that are held in memory? My program creates reports and then emails > > them but the reports are not saved. > > The component allows the entire body to be added from a stream and for files > to > be attached, but not for streams to be attached, > > You would need to build the entire body of the email yourself with the > appropriate headers and part separators. But you may already be doing most > of > this using the old version. > > FMimeBoundary still exists as a protected property in the component and is > used > internally. > > Angus -- Robert Chafer Silverfrost Limited Office: +44 (0)161 795 1980 Email: r...@silverfrost.com Web: http://www.silverfrost.com The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error you should delete it from your system immediately and advise the sender. To any recipient of this message within Silverfrost, unless otherwise stated, you should consider this message and attachments as Silverfrost confidential. Silverfrost Limited is registered in England, Company Number 3447013, 4 Coulsden Drive, Manchester, M9 6AP, United Kingdom. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be