-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
Paradox To/From
To/FromCODEGuides
Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

April Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding BoardObjectPAL Topic   Print This     

trouble using SendDLG() on 2016 RDS svr W/ Outlook

trouble using SendDLG() on 2016 RDS svr W/ Outlook in ObjectPAL topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: trouble   SendDLG()   Outlook   trouble using   trouble using SendDLG()   2016 RDS   svr W/  
SamSpade
DBusSol
-- USA

I am starting up a new 2016 RDS server to replace a 2008 R2 Terminal server running a Paradox 11 App.

I am having trouble using the M.SendDLG() command, which runs fine on The 2008R2 server.

I get a windows error about the default email client and to open Outlook and set it as default

I have opened outlook and set it as default

I have also set it in control panel default programs and through settings default programs

Both servers are running Outlook, the 2016 server where the problem is occuring is running Outlook 2019.

There is also a Paradox errormessage that simply says "Main".  I think thats the errorShow for the M.SendDLG()

Anyone else run into this?

 Posted 7 years ago (Thread Starter)
Comment Quote
About SamSpade
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17671, 12 replies
Thread Started 10/1/2019 2:09:34 PM
View Counter=983
Last Reply Posted 1/14/2020 11:32:41 AM)
Location=-- USA 
Joined=7 years ago   MB Posts=13  
Moderator
Steven.G
Myrtle Beach, SC USA

we're still using Outlook 2016, but I'm also aware of potential show-stopper issues in 2016 and 2019.. this is gonna be the end of MAPI, as we know it

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 7 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17672 (Level 2) and Parent is 17671
Reply Posted 10/2/2019 5:33:23 AM
Location=Myrtle Beach, SC USA 
Joined=10 years ago   MB Posts=463  
Moderator
Steven.G
Myrtle Beach, SC USA

the "Main" error is the result on the mail logon failing.. I see that all the time when they haven't opened Outlook first

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 7 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17673 (Level 3) and Parent is 17671
Reply Posted 10/2/2019 5:35:01 AM
Location=Myrtle Beach, SC USA 
Joined=10 years ago   MB Posts=463  
SamSpade
DBusSol
-- USA

Steve, 

Thanks, that confirms what I was thinking.

I did some reading last night and the windows error sounds like maybe paradox is expecting a 32 email app and Office2019 is 64bit??

Since corel isn't likely to do any new development on Paradox, I am not holding my breath for a fix on that...

I was looking at some command line options. Ideally, if I could run a command line to create an email through outlook, that would be the best.  I have looked at a command line that will create a blank email, but I would ideally be able to prefill an email with to:, Subject, body and Attachments

 Posted 7 years ago (Thread Starter)
Comment Quote
About SamSpade
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17674 (Level 4) and Parent is 17671
Reply Posted 10/2/2019 5:52:34 AM
Location=-- USA 
Joined=7 years ago   MB Posts=13  
SamSpade
DBusSol
-- USA

I just read your Mapi comment.

It‘s been a long run..

First Betamax, then slider keyboards for phones, now MAPI.... What is this Earth coming to???!!! ARGH

 Posted 7 years ago (Thread Starter)
Comment Quote
About SamSpade
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17676 (Level 5) and Parent is 17671
Reply Posted 10/2/2019 6:00:24 AM
Location=-- USA 
Joined=7 years ago   MB Posts=13  
SamSpade
DBusSol
-- USA

I am also looking at some third party command line emailing, but since the client uses MS O360, I doubt that trying to go around outlook is going to work.

I am going on the assumption Paradox direct to Outlook is a dead horse. Is there anyone out there who has Paradox opening emails through Outlook 2019. Maybe there is a simpler solution.

If I could find a way to "import" an email into Outlook via a file paradox could create, that might work, but I haven't found a path on the outlook side there yet. I am not much of an outlook guy, but I am only aware of a PST import for importing an entire inbox.  I haven't found an outlook import for a single email.

Thanks

 Posted 7 years ago (Thread Starter)
Comment Quote
About SamSpade
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17677 (Level 6) and Parent is 17671
Reply Posted 10/2/2019 6:02:32 AM
Location=-- USA 
Joined=7 years ago   MB Posts=13  
Moderator
Steven.G
Myrtle Beach, SC USA

we're in the middle of a similar assessment.. no, it's not 32/64, best I can tell, it's restrictions on older, less-secure platforms

no, Corel isn't gonna touch paradox

bear in mind that the paradox community is very small now.. we don't get messes of folks testing the same issues, at the same time, any more

Windows does has it's own set of API calls to manually run Outlook

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 7 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17678 (Level 7) and Parent is 17671
Reply Posted 10/2/2019 6:14:13 AM
Location=Myrtle Beach, SC USA 
Joined=10 years ago   MB Posts=463  
SamSpade
DBusSol
-- USA

This is an update on my early post about trouble using SendDLG() on a 2016 terminal server running paradox 11 runtime and Outlook 2019 from MS Office suite.

The consesus July 2019 on that server was outlook 2019 no longer supported MIME and paradox would no longer be able to pass values to outlook for 

In december I installed on a different new 2016 terminal server running Outlook 2019 but just outlook as a standalone, not the whole office suite.  And SendDLG() works on this server

I went back and checked the original server running Office Suite with the hope it had been an office update, but senddlg() still doesn't work on that environment.

I am very surprised at this, I wouldn't expect a difference in the standalone version, but there you have it.

Because they are client production servers, I am limited in how much I can trial an error try to pin down the difference, but I thought it was very interesting.

 Posted 6 years ago (Thread Starter)
Comment Quote
About SamSpade
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17807 (Level 8) and Parent is 17671
Reply Posted 1/14/2020 8:51:39 AM
Location=-- USA 
Joined=7 years ago   MB Posts=13  
Moderator
Steven.G
Myrtle Beach, SC USA

on our installation, sendDLG works fine, as far as opening the mail thing itself.. but it always returns TRUE, even if the user cancels the email

we have had other issues with MAPI email, with outlook.. its days are VERY numbered

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 6 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17808 (Level 9) and Parent is 17671
Reply Posted 1/14/2020 9:09:41 AM
Location=Myrtle Beach, SC USA 
Joined=10 years ago   MB Posts=463  
SamSpade
DBusSol
-- USA

Are you getting that return True in Outlook 2019?

I wanted to make sure I understood correctly the environment that SendDlg() is working for you.

 Posted 6 years ago (Thread Starter)
Comment Quote
About SamSpade
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17809 (Level 1.1)  Reply to 17808 and Parent is 17671
Thread Started 1/14/2020 10:30:54 AM
Location=-- USA 
Joined=7 years ago   MB Posts=13  
Moderator
Steven.G
Myrtle Beach, SC USA

my two remotes to that network might still be 2016, I'll have to check

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 6 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17810 (Level 10) and Parent is 17671
Reply Posted 1/14/2020 9:12:26 AM
Location=Myrtle Beach, SC USA 
Joined=10 years ago   MB Posts=463  
rum
Frankfort, KY USA

I dont have a dog in the fight,  and I may not understand the problem...but...

If I were trying to implement an email solution in Paradox,

I would consider using a powershell script that would open and send a predefined file/content.   That would allow me to have paradox shell windows to execute the script thereby taking PARADOX out of the picture (as much as possible)

Look at 
https://gallery.technet.microsoft.com/scriptcenter/Send-HTML-Email-Powershell-6653235c

 Posted 6 years ago
Comment Quote
About rum
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Member pending approval.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17811 (Level 11) and Parent is 17671
Reply Posted 1/14/2020 11:11:16 AM
Location=Frankfort, KY USA 
Joined=9 years ago   MB Posts=128  
Most Recent Post
Moderator
Steven.G
Myrtle Beach, SC USA

we've already switched to an alternative like this, for one process that needs html, as an attachment, with a submit button, in a big batch to our vendors.. everything that email security hates, in one process :-)

the only conceptual problem with the alternative, but it didn't matter in this particular situation, is that the alternative can't stuff the "sent" box

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 6 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17812 (Level 12) and Parent is 17671
Reply Posted 1/14/2020 11:00:14 AM
Location=Myrtle Beach, SC USA 
Joined=10 years ago   MB Posts=463  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1213A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #17671 Counter
983
Since 10/1/2019
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2026 Prestwood IT Solutions.   [Security & Privacy]