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?
version 4.0.167.0 not working as good as 4.0.166.0
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 25
- Joined: Mon Sep 07, 2009 9:26 am
-
- 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
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.
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.
-
- 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
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
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
-
- 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
Names of properties are case-sensitive
So, valid code will be
HTH
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
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.
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.
-
- 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
Hi
i did try the Cc and Bcc options with the lower case,but to no avail, i will try again then report back
i did try the Cc and Bcc options with the lower case,but to no avail, i will try again then report back
-
- 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
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
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.
-
- 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
Hello Phil,
Just keeping you updated that Ivan is investigating and we will post again here when we have some more information.
Regards,
Stefan
Just keeping you updated that Ivan is investigating and we will post again here when we have some more information.
Regards,
Stefan
-
- 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
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
emails are now being sent from this version
-
- 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
Pleasure to hear all is well
Cheers,
Stefan
Cheers,
Stefan