Skip to main content
Solved

FME server workspace not sending emails as failing to find attachment

  • November 9, 2022
  • 5 replies
  • 100 views

Keeping getting the following error message - Overdue_Emailer: The file 'C:\\ProgramData\\Safe Software\\FME Server\\repositories\\GIS\\Test send Email/Overdue.xlsx' could not be found. It is required to form the content of the attachment Overdue.xlsx

 

Works space created in workbench and published to server. Works fine if a run from workbench and I can see the .xlsx files that are the attachment in fme server repository but still getting an error

Best answer by redgeographics

Is the Overdue.xlsx written as part of the workspace that also sends the email? Is it written in the repository folder?

Writing to the repository folder is not recommended, can you try writing it to the the $FME_SHAREDRESOURCE_TEMP folder instead? (there's a parameter already available for that).

View original
Did this help you find an answer to your question?

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+48
  • Celebrity
  • Best Answer
  • November 9, 2022

Is the Overdue.xlsx written as part of the workspace that also sends the email? Is it written in the repository folder?

Writing to the repository folder is not recommended, can you try writing it to the the $FME_SHAREDRESOURCE_TEMP folder instead? (there's a parameter already available for that).


  • Author
  • November 9, 2022

Sorry I meant It is written to a resource folder (not repository), I'll try the $FME_SHAREDRESOURCE_TEMP approach


  • Author
  • November 9, 2022
redgeographics wrote:

Is the Overdue.xlsx written as part of the workspace that also sends the email? Is it written in the repository folder?

Writing to the repository folder is not recommended, can you try writing it to the the $FME_SHAREDRESOURCE_TEMP folder instead? (there's a parameter already available for that).

That worked, not sure why it didn't like using the resource folder that I have linked, as I can see the files in this folder through resources.

Nonetheless, changing the folder it was writing the file to before inclusion in the email worked.

 

Thank you


ka_bork
Participant
Forum|alt.badge.img+3
  • Participant
  • October 25, 2024

Hi,

I tried to use your tip with using FME Flow 2024.1.1. I saved the HTML Report (which should be the attachment in email) on $FME_SHAREDRESOURCE_TEMP. But it is still wrong - I have the same error Emailer: The file 'C:\ProgramData\Safe Software\FMEFlow\resources\system\temp\engineresults\FME_06414B2D_1729880881872_3216.zip\/Demo/Output/25.10.2024_A.html' could not be found. It is required to form the content of the attachment 25.10.2024_A.html

 

Any ideas how I can solve this? Emailer in FME Form is works fine, but when I published script on FME Server (installed on my local computer) I get the error as above.


dylan.at.safe
Safer
Forum|alt.badge.img+7

Hi @ka_bork

It looks like you're trying to pull the HTML report directly from the engine results folder. Could you clarify which service is being used to run the job (e.g., job submitter, data streaming, etc.)?

Also, is the emailer part of the workspace that generates the HTML report? I’m wondering if the emailer might be attempting to send the report before it’s actually saved in the engine results folder.

 

-Dylan


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings