Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: MAPI is not dead... Date: 30 Nov 2012 16:35:01 GMT Lines: 31 Message-ID: References: X-Trace: individual.net oFEFlrjD4C7L2WO6/Uf9tg1WQm9CZup8z5Uskwdl2owVw5/izQabD8ORtah0zYn9c= Cancel-Lock: sha1:4AD7jNOfljpqZ6P/47763g6khhE= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:4414 Hi Karl, > > I have also a Thunderbird interface. > sounds interesting, as i'm about to switch my mailer to TB. it's very easy: a commandline. Here is this fraction of code: cCmdLine := ' -compose "attachment=' + "'" + cFileName + "'" if ! Empty( _cEmail ) cCmdLine := cCmdLine + ",to='" + _cEmail + "'" endif if ! Empty( cEmailSubject ) cCmdLine := cCmdLine + ",subject='" + cEmailSubject + "'" endif if ! Empty( cEmailText ) cCmdLine := cCmdLine + ",body='" + cEmailText + "'" endif cCmdLine := cCmdLine + '"' debOut( "executing " + cCmdLine ) ShellExecute( null_ptr, psz( "open" ), psz( cThunderbirdPath ), psz( cCmdLine ), psz( GetPathFromFileName( cThunderbirdPath ) ), 0 ) Thunderbird will work also with MAPI most of the time, but the portable version of Thunderbird will not. Wolfgang