Article View: borland.public.cppbuilder.nativeapi
Article #7050Programatically Send Exchange e-mail without pop-ups
From: George P Boutwell
Date: Thu, 17 Mar 2005 15:16
Date: Thu, 17 Mar 2005 15:16
39 lines
2506 bytes
2506 bytes
Hey, I've tried for a many weeks now to programatically send e-mail without pop-ups. I've gotten past most hurdles, but this last one I just can't figure out. We have Exchange 5.5 Windows XP Client machine with Office XP An MailBox on the Exchange Server created just for this purpose named Alert Outlook Security Settings configured for the Alert mailbox Client registry key added to Look at Outlook Security Settings and prevent security pop-ups for above mailbox. Now my problem. I'm using Simple MAPI, and when I do the MAPISendMail call, it pop-ups up an Login dialog, with the Exchange Server & Administrator seems to be the only Login that is allowed. We've reviewed the settings Exchange mailbox settings, and there should be no reason for the pop-up. Has someone done this before, ran into this problem before? Are there any pointers? Basically I do the following in an 'test' project' I'm tyring to get this working on: Press a Button to Create a Alert Profile (I'm using the C++ code from M$ Knowledge base to Create the Profile using the MAPI IProfAdmin interface) Fill out the Screen & press Send (which calls MAPISendMail after setting everything up) - This is where it failes Press a Button to Delete the Alert Profile (I'm using the opposite of the create code here) Anyone done this sucessfully, want to lend I hand, I just can't get around the login pop-up. I get the Login pop-up when I create the Profile using Outlook to create the profile as well, and when I try to send e-mail using that profile in Outlook. George
Technical Details
Message-ID:
<767j31l1q02ju7ep578o60pocb3qdrdklg@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!tdsnet-transit!newspeer.tds.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,98b80c51acfddf6b,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: George P Boutwell <gboutwel@netscape.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Programatically Send Exchange e-mail without pop-ups Date: Thu, 17 Mar 2005 09:16:53 -0600 Message-ID: <767j31l1q02ju7ep578o60pocb3qdrdklg@4ax.com> X-Newsreader: Forte Free Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.225.9.218 X-Trace: newsgroups.borland.com 1111072605 24.225.9.218 (17 Mar 2005 07:16:45 -0800) Lines: 39 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!tdsnet-transit!newspeer.tds.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail