Skip to main content
Solved

Is it possible to attach a file with an unknown filename to the Email External Action?

  • September 1, 2021
  • 2 replies
  • 26 views

timboberoosky
Contributor
Forum|alt.badge.img+6

I'm trying to attach a file to the Email External Action in an Automation that always has a different filename (date/time) but is in the same location, and is the only file in the folder. I've added this folder as a resource and tried to use a * wildcard but it fails to send the email. If I give the exact filename, the email sends successfully with the attachment. Also, I can do this successfully using the Emailer transformer in a Workspace and feeding it the exact name via a Text File Reader, but I'd rather use the External Action in Automations if possible.

Any thoughts?

Thanks!

 

Best answer by hollyatsafe

Hi @timboberoosky​ ,

The Email External Action does not currently support using a wildcard in the Email Attachment file path. FME Server sees the asterisk as an illegal character that invalidates the path. In my testing, the email will still send successfully but without the file attached.

 

Please consider posting an idea to request an enhancement to support this.

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

2 replies

Forum|alt.badge.img+2
  • Best Answer
  • September 1, 2021

Hi @timboberoosky​ ,

The Email External Action does not currently support using a wildcard in the Email Attachment file path. FME Server sees the asterisk as an illegal character that invalidates the path. In my testing, the email will still send successfully but without the file attached.

 

Please consider posting an idea to request an enhancement to support this.


timboberoosky
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • September 1, 2021
hollyatsafe wrote:

Hi @timboberoosky​ ,

The Email External Action does not currently support using a wildcard in the Email Attachment file path. FME Server sees the asterisk as an illegal character that invalidates the path. In my testing, the email will still send successfully but without the file attached.

 

Please consider posting an idea to request an enhancement to support this.

Thanks @hollyatsafe​ . I can use the Workspace itself to send the email, it just would have been simpler to do it right in the Email External Action. I'll post an idea as suggested.

Thanks!


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