Send pdf by E-mail

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
BertS
User
Posts: 17
Joined: Wed Sep 22, 2004 7:35 am

Send pdf by E-mail

Post by BertS » Wed Feb 02, 2005 9:03 pm

Hello,

I was asked to extend my application with the ability to send faxes directly from the application, from a LAN. Now I've tried with an email-to-fax service, which you can send an e-mail with a pdf-document as attachment. The service converts the attachment to a fax and sends it to the requested receiver.

Now I was trying to integrate this within PDF XChange, so I specified the E-Mail parameters. (with RunDefaultClient as Type). My e-mailclient is Outlook 2003.
The faxservice is not able to convert the received pdf-document. (the receiver gets an blanco fax)
When I manually send the same pdf-document, or using automation with Outlook, the file is converted very well.

So my question is: can there be any difference between sending the email from PDF XChange (I suppose it's 'during' the printing-process) and sending it as a seperate process?
(I'm thinking about an unreleased handle or something like that)

For your information: the pdf that is sent by pdf xchange-email, can be read by Adobe Reader without problems. So it seems to be a very small difference.
I'm actually not sure, but I suppose that the fax-service uses some of a 'screen-reader-device' for converting the pdf-file to a fax. I'll ask them and update that information here asap, but maybe you 'know' the problem.

thanx,
Bert

BertS
User
Posts: 17
Joined: Wed Sep 22, 2004 7:35 am

Post by BertS » Thu Feb 03, 2005 8:40 am

update:

When I let PDF XChange generate the pdf-file and after that the pdf attach to an email, there's no problem.
But when I let PDF XChange attach the pdf to an email (even without automatically sending), there seems to be a (very small) difference, while the faxservice then ignores the pdf-file.

For me it sounds like an unreleased file-handle at the moment of attaching the pdf, but thats just my thought...

John - Tracker Supp
Site Admin
Posts: 8204
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Thu Feb 03, 2005 9:47 am

Hi Bert,

Please can you send a sample PDF file by both methods (directly and via PDF-XChange printing) to ivan@tracker-software.com.

I suspect that there may be a problem with the email header or attachment encoding, and would like to see the 'source' of these to take a closer look

thanks.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

BertS
User
Posts: 17
Joined: Wed Sep 22, 2004 7:35 am

Post by BertS » Thu Feb 03, 2005 10:00 am

Ok, I've send them.

John - Tracker Supp
Site Admin
Posts: 8204
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Thu Feb 03, 2005 10:13 am

Thanks - wil advise as soon as I have some feedback for you.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

John - Tracker Supp
Site Admin
Posts: 8204
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Thu Feb 03, 2005 11:38 am

Hi Bert,

we believe we have found the problem, as Netlib uses SMTP:SMTP Address as the address format method - :

Please see this Microsoft KB bulletin - The section on SMTP:SMTP address is the relevant one.

http://support.microsoft.com/kb/q138053/

essentially you need to ensure it would seem that the address format is set to 'Plain Text' for this email - or possibly if easier - there is a global option to do so in Outlook for all outgoing mail.

Please see :

http://support.microsoft.com/?kbid=241538

also I should add that we cannot use an alternate send method via Outlook or the message will be rejected !

thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

BertS
User
Posts: 17
Joined: Wed Sep 22, 2004 7:35 am

Post by BertS » Thu Feb 03, 2005 12:32 pm

Thank you for the information. The problem is clear to me now. I'll go and look now for the best solution.

thanx!
Bert

John - Tracker Supp
Site Admin
Posts: 8204
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Thu Feb 03, 2005 2:12 pm

Hi Bert,

ok and good luck :)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Post Reply