Re: Fun with Outlook and MAPI

2004-12-13 Thread Steve Holden
Chris wrote: Okay, here's the results. The good news is that the code sent the mail without any popup's. The bad news is that the sent e-mail stays in the outbox instead of the sent folder. Any suggestions? Well, only the same one I've already made, which is to look on the win32all mailing li

Re: Fun with Outlook and MAPI

2004-12-13 Thread Chris
Okay, here's the results. The good news is that the code sent the mail without any popup's. The bad news is that the sent e-mail stays in the outbox instead of the sent folder. Any suggestions? Well, only the same one I've already made, which is to look on the win32all mailing list archives.

Re: Fun with Outlook and MAPI

2004-12-13 Thread Steve Holden
Chris wrote: There is actually a workaround. You're using Simple MAPI which has a nice easy interface. The confirmation dialogs are only for Simple MAPI. Using Extended MAPI can work around the problem but its a lot more tricky. See the initial discussion here: http://aspn.activestate.com/ASPN/

Re: Fun with Outlook and MAPI

2004-12-13 Thread Chris
There is actually a workaround. You're using Simple MAPI which has a nice easy interface. The confirmation dialogs are only for Simple MAPI. Using Extended MAPI can work around the problem but its a lot more tricky. See the initial discussion here: http://aspn.activestate.com/ASPN/Mail/Message/P

Re: Fun with Outlook and MAPI

2004-12-13 Thread Chris
At the risk of beating a dead horse, but you really should consider using SMTP instead if you are really going to be sending a lot of messages. The problem is that doesn't work in more complicated configurations such as when authentication and/or SSL have to happen, not to mention the issue of conf

Re: Fun with Outlook and MAPI

2004-12-12 Thread Steve Holden
Chris wrote: Alas, I dont think that there is much you can do to prevent the confirmation dialogs with Outlook's MAPI dll. MS added them in a service pack as an anti-virus measure, so no work-around. Not all clients show these anoying dialogs though. Thunderbird definately doesn't. There is act

Re: Fun with Outlook and MAPI

2004-12-11 Thread Roger Binns
"Larry Bates" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At the risk of beating a dead horse, but you really should consider > using SMTP instead if you are really going to be sending a lot > of messages. The problem is that doesn't work in more complicated configurations such

Re: Fun with Outlook and MAPI

2004-12-11 Thread Roger Binns
"Chris" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > My only problem is that when I call Resolve() and Send(), I get confirmation > dialogs. I will be sending out quite a few e-mails > at a time, and would rather not have the user have to click yes for every > single one. He

Re: Fun with Outlook and MAPI

2004-12-11 Thread Larry Bates
At the risk of beating a dead horse, but you really should consider using SMTP instead if you are really going to be sending a lot of messages. I think you will find it more reliable and much faster. It also eliminates the need for ANY email client to be on the machine that is sending the messages

Re: Fun with Outlook and MAPI

2004-12-10 Thread Chris
Alas, I dont think that there is much you can do to prevent the confirmation dialogs with Outlook's MAPI dll. MS added them in a service pack as an anti-virus measure, so no work-around. Not all clients show these anoying dialogs though. Thunderbird definately doesn't. There is actually a worka

Re: Fun with Outlook and MAPI

2004-12-10 Thread Chris
Will McGugan wrote: I'm trying to send an e-mail through outlook. So far I've gotten it to work with the mail script at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/149461 My only problem is that when I call Resolve() and Send(), I get confirmation dialogs. I will be sending out q

Re: Fun with Outlook and MAPI

2004-12-10 Thread Will McGugan
David Fraser wrote: Alas, I dont think that there is much you can do to prevent the confirmation dialogs with Outlook's MAPI dll. MS added them in a service pack as an anti-virus measure, so no work-around. Not all clients show these anoying dialogs though. Thunderbird definately doesn't. The

Re: Fun with Outlook and MAPI

2004-12-10 Thread David Fraser
Will McGugan wrote: Chris wrote: I'm trying to send an e-mail through outlook. So far I've gotten it to work with the mail script at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/149461 My only problem is that when I call Resolve() and Send(), I get confirmation dialogs. I will be

Re: Fun with Outlook and MAPI

2004-12-10 Thread Will McGugan
Chris wrote: I'm trying to send an e-mail through outlook. So far I've gotten it to work with the mail script at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/149461 My only problem is that when I call Resolve() and Send(), I get confirmation dialogs. I will be sending out quite a

Fun with Outlook and MAPI

2004-12-10 Thread Chris
I'm trying to send an e-mail through outlook. So far I've gotten it to work with the mail script at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/149461 My only problem is that when I call Resolve() and Send(), I get confirmation dialogs. I will be sending out quite a few e-mails a