Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Sending tons of e-mails with attachment via VO Date: Wed, 25 Sep 2013 17:01:04 +0200 Lines: 43 Message-ID: References: <5242ed5f$0$12680$91cee783@newsreader03.highway.telekom.at> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 X-Trace: individual.net YPpysh7vUpytq5OnbI3f8gYUgvBzBdZzGoxs5tlfTm2pTOU3g= Cancel-Lock: sha1:Rclpd1W7B6ETwfsVRKs7uL/ajIg= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:5863 Hi Joe, > my costumer wants to send invoices per e-mail. a requirement I here at least every month > In the beginning maybe 100, later a thousands of them should be sent. > Each mail should get 2 pdf attached. > Every 6 months this mails get out, almost at once. > > His provider thinks, it could run. > Which possibilities do i have in VO2.8 to do this? > > I only know MAPI and OLE to interact with Outlook. > Can i send directly to a smpt-server? You have these possibilities: - use MAPI to construct the mails and send them - use OLE to interact with Outlook, to construct the mails and to send them - use the cEmail and cSMTP classes together to send the mails All methods have their advantages: - MAPI is easy to implement - using OLE you are using Outlook with signatures and the sent mail in the respective folder - with cEmail and cSMTP you are very flexible, but you have to construct both the text and the HTML part if you would like to send good looking emails Personally I think your customer should have an internal mail server where the mails should be delivered by your program, if using SMTP. This can be done to Exchange and also to other mail servers. Where are your problems? Wolfgang --