version 4.0.167.0 not working as good as 4.0.166.0

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

phil.mccrae
User
Posts: 25
Joined: Mon Sep 07, 2009 9:26 am

version 4.0.167.0 not working as good as 4.0.166.0

Post by phil.mccrae »

Hi
I downloaded and installed PDFX4API.exe ver 4.0.167.0, i had been previously using 4.0.166.0
i have a vb6 com wrapper to provide details to Navision.
navision will print a report and email it as a pdf attachment.

when retesting the application i got a com failure trying to apply email options CC

i commented this out and retried the test

the sending of emaiil has stopped working, although the onfilesent trigger continues to fire

i uninstalled ver 4.0.167.0 and installed 4.0.166.0, reapplied the email CC (uncommented the line) and recompiled the vb dll

i then reran the above test and emails are sent ok

nb i am using the the email method option 2 (SendViaSMTP)

please advise?
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3556
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by Ivan - Tracker Software »

Can you send me piece of code where you set "CC" option ?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
phil.mccrae
User
Posts: 25
Joined: Mon Sep 07, 2009 9:26 am

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by phil.mccrae »

the following code works with 4.0.166.0 but not 4.0.167.0

Public Sub EMail_Options(blEnabled As Boolean, _
strSMTPSvr As String, _
strFrom As String, _
strTo As String, _
strCC As String, _
strBCC As String, _
strSubject As String, _
strContent As String, _
blZip As Boolean)

objPDFPtr.Option("EMail.Enabled") = blEnabled
objPDFPtr.Option("EMail.Method") = 2
objPDFPtr.Option("EMail.ZIP") = blZip
objPDFPtr.Option("EMail.Server") = strSMTPSvr
objPDFPtr.Option("EMail.From") = strFrom
objPDFPtr.Option("EMail.To") = strTo
objPDFPtr.Option("EMail.CC") = strCC
objPDFPtr.Option("EMail.BCC") = strBCC
objPDFPtr.Option("EMail.Subject") = strSubject
objPDFPtr.Option("EMail.Content") = strContent
End Sub
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3556
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by Ivan - Tracker Software »

Names of properties are case-sensitive :!:

So, valid code will be

Code: Select all

Public Sub EMail_Options(blEnabled As Boolean, _
  strSMTPSvr As String, _
  strFrom As String, _
  strTo As String, _
  strCC As String, _
  strBCC As String, _
  strSubject As String, _
  strContent As String, _
  blZip As Boolean)

  objPDFPtr.Option("EMail.Enabled") = blEnabled
  objPDFPtr.Option("EMail.Method") = 2
  objPDFPtr.Option("EMail.ZIP") = blZip
  objPDFPtr.Option("EMail.Server") = strSMTPSvr
  objPDFPtr.Option("EMail.From") = strFrom
  objPDFPtr.Option("EMail.To") = strTo
  objPDFPtr.Option("EMail.Cc") = strCC
  objPDFPtr.Option("EMail.Bcc") = strBCC
  objPDFPtr.Option("EMail.Subject") = strSubject
  objPDFPtr.Option("EMail.Content") = strContent
End Sub
HTH
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
phil.mccrae
User
Posts: 25
Joined: Mon Sep 07, 2009 9:26 am

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by phil.mccrae »

Hi

i did try the Cc and Bcc options with the lower case,but to no avail, i will try again then report back
phil.mccrae
User
Posts: 25
Joined: Mon Sep 07, 2009 9:26 am

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by phil.mccrae »

Hi

ok retested 4.0.167.0

attached is a word document showing incompatibility with previous version(166) when recompiling the vb6 dll

the cc and bcc are ok no errors here

but the retest showed the email trigger being actioned, BUT no email was sent, whereas with version 166 the email was sent straight away, the event viewer shows no problems

the only thing that has changed in the dll for the new version 4.0.167.0 is the email options cc and bcc

everything else is the same as for the test with 4.0.166.0

please advise
You do not have the required permissions to view the files attached to this post.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by Tracker Supp-Stefan »

Hello Phil,
Just keeping you updated that Ivan is investigating and we will post again here when we have some more information.

Regards,
Stefan
phil.mccrae
User
Posts: 25
Joined: Mon Sep 07, 2009 9:26 am

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by phil.mccrae »

I have noticed version 168 has appeared, i have downloaded and installed this and run a test
emails are now being sent from this version
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: version 4.0.167.0 not working as good as 4.0.166.0

Post by Tracker Supp-Stefan »

Pleasure to hear all is well

Cheers,
Stefan