Products | About Us

Email Fails, is temp file saved?

Hello, I run an automatic process every night that prints text files. The windows server 2008 "prints" the jobs via Print Distributor to email. Every once in a while (maybe 3 times a year) Print Distributor cannot connect to the mail server to email the reports. Of course when I get here in the morning, the mail server is up and running fine and a test print works fine. It just failed to connect to email at 5:57 am before I got here for some reason.

I thought of having print distributor write the reports to an archive file, then do an email, but that "archive" might get quite large.

Does print distributor save the print jobs that didn't get emailed to a temp folder or is there any way to get the print jobs without re-running the job from scratch? For example, you can go into the windows spool folder and see open print jobs, but the jobs from print distributor are not there.

If the Print Distributor print job fails for any reason, is the job held in a temp file somewhere?

Thank you.
Phil

PhilMoore
24th Jun 2009

Phil,

By default failed jobs are discarded however you can setup an action to run only if there has been a problem.

After your Send Mail action add a Write File action with a path like C:\Errors\Failed-?SN?.txt then set the condition on the action to Exception. Then if the Send Mail action fails it will write the print file out to the Errors folder.

You can also improve the situation by setting up a local SMTP service on your server to relay the messages, this can then queue the outgoing messages if your internet connection is down.

Tony Edgecombe
24th Jun 2009

This thread is closed to new posts.

Feed