You are viewing limited content. For full access, please sign in.

Question

Question

Unable to send any type of email attachments from Workflow

asked on October 27, 2016

Workflow 10.x on a relatively new workflow server seems to be unable to get any kind of email attachment in any workflow. The email delivers just fine but no attachment. We have tried electronic documents, sending links, sending contents of parent folder, but no luck. There are no words about document with no content. We created a brand new workflow with a Find Entry programmed for an entry ID and a default email attachment dialog and that didn't work either. The workflow status is Green and Complete with no errors or warnings and the Entries tab in the workflow instance shows the file just fine. The workflow user has full access to the file. We've rebooted the workflow server and checked the email server logs and they show email size of 9kb (the attachment should be 200kb) and also full green delivery with no spam errors or problems. We've sent the emails to completely different email servers like Gmail and the same results.

Why can my workflow server deliver email just fine but seems to ignore the attachment?

0 0

Replies

replied on October 27, 2016

Any chance your mail server or firewall is stripping out the files? If the activity didn't throw any errors, then everything worked fine as far as Workflow is concerned.

0 0
replied on October 28, 2016

Good question. Before posting this we traced the emails on Office 365 (our mail server) and there was no spam error, warning, or anything other than green delivered. The email file size in the Office 365 mail delivery trace was 9kb. My conclusion from that was the mail reaching office 365 had no attachment.

0 0
replied on October 28, 2016

One thing I can warn you about with using those mail servers is that they have a daily limit on emails for Spam prevention. They may also have some sort of rule on attachments, or the amount of data.

I literally just went through the daily limit issue this week.

I would check for any errors, other than that make sure you have "Include the Electronic File" checkbox checked in the attachment properties.

0 0
replied on October 28, 2016

FYI, I setup a hMailServer email server on my workflow server and created a method to send completely locally. Using Sylpheed POP3 email client also installed locally i could send email from workflow without going anywhere outside the workflow server. I tested this again and got the same result. There is no attachment.

0 0
replied on October 28, 2016

Just to confirm, when you set the attachment, you are setting the properties of teh attachment?

0 0
replied on October 31, 2016

Hi Richard, thanks for taking the time to work on this. We have tried attaching shortcuts OR copies of the document. We've tried PDF or just the electronic document. It doesn't seem to matter what workflow or what type of attachment we select, from this new workflow server we can't seem to get any type of attachment to work. The strangest thing of all to me is the fact that there are no workflow errors. We've also looked through the windows event log both in Applications and Systems as well as the Laserfiche specific LFS and Workflow event logs and it appears very clean.

0 0
replied on October 31, 2016

An issue I was having was the document was changing from the time of the "find" activity, till the email activity. That change seemed to break the link and the document would not attach. 

What I did was to put a delay just before the email activity, then after the delay it would find the document, then attach it to the email immediately afterwards. That delay would give the server time to update metadata if it needed to.

Have you tried to set up a simple Business Process to test? One with just a find activity and then an email activity? This way you can control when to initiate the email and also keep it very simple and eliminate anything upstream that may be holding you back.

0 0
replied on October 31, 2016

Richard, that was exactly the test workflow we built. A hard-coded Find activity pointing to a specific Entry ID and then attempting to attach it. Great suggestion and even more surprising when it didn't work.

0 0
replied on October 31, 2016

Im running out of ideas....Maybe its a folder permission issue in Windows?

Anyway, here is a screen from a successful email with attachments. Maybe you can spot something different....

0 0
replied on November 1, 2016

Unfortunately I can't. I'll open a support case on it. Thanks again for all your help.

0 0
replied on November 1, 2016

I still don't think it's a Workflow issue. You can check the Activities tab in the instance details and look at all completed activities. There should be separate rows for X_Entry_0*, X_EmailWithAttachments*, X_DeleteWFFile*, where X is the name of the Email activity. Those are the inner activities that export the file when you have as attachment. If any of those failed, you'd have seen errors in the instance. If the document had no content to export, then WF would've written that as a warning in the message itself.

Any anti-virus on the machine?

 

0 0
replied on November 2, 2016

Miruna, normally I would completely agree with you. That's what seems so strange.

Nope, no AV active on the machine. Yes, I see those sub activities you describe and there are no errors. Until I setup that SMTP server right on the workflow machine and delivered email from workflow to that SMTP server and read it with a generic pop3 client where the email was delivered to 127.0.0.1 and read from the same I would not have believed there was anything wrong with workflow. I'm still scratching my head.

The only good news is that it's for our own internal workflow server in our own company with our Avante license so it's not like a customer is down but we still need to figure this out somehow.

0 0
replied on November 2, 2016

If you got hMail to log everything, please attach that to the support case too.

0 0
replied on December 19, 2018

Hi Jeremy,

What did you end up finding out regarding this? We might be experiencing something similar.

0 0
replied on January 11, 2019

This was a long time ago so unfortunately I am scratching to remember exactly what the fix was. If memory serves me correctly it wasn't anything in Workflow in the end but was some kind of security service getting the way. Don't quote me on that but from the recesses of my memory I don't think it was WF.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.