Paradox Community

Items in pnews.paradox-development

Subject:Re: MAPI Mail
Date:24 Nov 2019 00:37:28 -0400
From:"Kevin Zawicki" <numberjack@wi.rr.com>
Newsgroups:pnews.paradox-development


>it seems it returns true all the time on the sendDLG() function, even if
you 
>don't send the email yourself.. it's essentially a black box
>




------------------------------------
Description
sendDlg sends a mail message with user interaction. The user will be shown
the message as it currently exists (using the user's default MAPI mail system
provider). They can then modify it before sending it.

If an existing mail session is not active, the user may be prompted with
a logon dialog box. Use the logon method to create a mail session.

sendDlg returns True if the user sends the message, and False if they cancel.
Any errors will trigger an exception. 

sendDlg returns True if the user cancels the logon dialog box.
------------------------------------
*** last two points seems to contradict


>using the user's default MAPI mail system provider
In control panel find MAIL. Dig around in there. Any differences? Multiple
email address / profiles?

Do they use outlook? Look into the actual client they use outside Paradox.
DO they send from multiple email addresses?

When you open that send dialog

>right now, three people are getting that often but not every >time, over
the 
>course of the day, and a couple of people are starting to get >it 


Almost sounds like authentication timeout.

Maybe look at the email logon,  logonDlg methods?


I battled a few similar things ultimately getting a third party emailer (few
free ones out there) and writing a library wrapper.



"Steven Green" <greens@diamondsg.com> wrote:
>the big app I'm working on uses the paradox mail function heavily, in house

>and externally.. just finally consolidated his mail stuff into one central

>process.. there were over 100 separate mail calls in the app
>
>anyhow.. Win10 doesn't like 3rd-party MAPI calls, and is now throwing up
a 
>password confirmation box, sometimes.. if you don't enter your password,
it 
>sends an error back to paradox, and the email isn't sent
>
>and FYI for those who don't use the mail function, and are reading this
for 
>casual knowledge, you can't trap for true/false on the send() function..
and 
>it seems it returns true all the time on the sendDLG() function, even if
you 
>don't send the email yourself.. it's essentially a black box
>
>right now, three people are getting that often but not every time, over
the 
>course of the day, and a couple of people are starting to get it 
>occasionally.. researching the hell out of it, but not having much luck..
no 
>specific clue as to why these particular people are getting it, and others

>doing the same stuff are not.. it's a terminal server setup, so they're
all 
>running in the same environment, in theory
>
>we're almost done with the alternative, now that we have one central process

>to replace, but in the meantime.. anyone else dealing with this? any clues?
>
>--
>
>Steven Green
>Myrtle Beach, South Carolina, USA
>
>http://www.OasisTradingPost.com
>
>Collectibles and Memorabilia
>Vintage Lego Sets and Parts
>- and Paradox support, too 
>


Copyright © 2004 thedbcommunity.com