<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How send an Email with Attachments?</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments</link><description>&lt;p&gt;How am I able to attach a File(PDF) to an Email using the Email Step in the Designer (5.1). I have tried to attach a file using the "select File" functionality but the Path/File is not accepted. 
What information does Ivy require in order to send an attachment with the Mail?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 12 Oct 2017 04:07:08 -0400</lastBuildDate><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments/2912</link><description>&lt;p&gt;Hi &lt;a href="https://answers.axonivy.com/users/341/josef_koupal"&gt;&lt;a href="https://answers.axonivy.com/users/341/josef_koupal"&gt;@josef_koupal&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In ivy &lt;strong&gt;7.1&lt;/strong&gt; we will only add the filename of the file, without path information. As we have seen that this is common practice.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Thu, 12 Oct 2017 04:07:08 -0400</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments/2912</guid></item><item><title>Comment by josef_koupal on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2392</link><description>&lt;p&gt;Is there a progress in this case ?&lt;/p&gt;
&lt;p&gt;josef&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">josef_koupal</dc:creator><pubDate>Fri, 20 Jan 2017 11:33:24 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2392</guid></item><item><title>Comment by josef_koupal on josef_koupal's answer</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2391</link><description>&lt;p&gt;Flavio Sadeghi is the one who answered me for the last time, he would be the best recipient. I will add my question as a comment to our conversation in december.&lt;/p&gt;
&lt;p&gt;josef&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">josef_koupal</dc:creator><pubDate>Fri, 20 Jan 2017 11:33:13 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2391</guid></item><item><title>Comment by RMS71 on josef_koupal's answer</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2390</link><description>&lt;p&gt;Are you adressing this Question to me, or "Reguel Werme... ♦♦"?&lt;/p&gt;
&lt;p&gt;Roger&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RMS71</dc:creator><pubDate>Fri, 20 Jan 2017 11:29:27 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2390</guid></item><item><title>Answer by josef_koupal</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments/2387</link><description>&lt;p&gt;Is there a progress in this case ?&lt;/p&gt;
&lt;p&gt;josef&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">josef_koupal</dc:creator><pubDate>Fri, 20 Jan 2017 11:17:24 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments/2387</guid></item><item><title>Comment by josef_koupal on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2324</link><description>&lt;p&gt;exactly, i want to send foo.txt in folder &amp;lt;designer&amp;gt;/files/application/subdir1/&lt;/p&gt;
&lt;p&gt;file subdir1_foo.txt is attached&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">josef_koupal</dc:creator><pubDate>Fri, 23 Dec 2016 13:06:23 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2324</guid></item><item><title>Comment by Flavio Sadeghi on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2323</link><description>&lt;p&gt;Whats your prefered attachment filename? Just foo.txt, without the folders?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Flavio Sadeghi</dc:creator><pubDate>Fri, 23 Dec 2016 11:38:12 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2323</guid></item><item><title>Comment by josef_koupal on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2322</link><description>&lt;p&gt;Hi Reguel&lt;/p&gt;
&lt;p&gt;I can confirm this behavior in ivy 5.x and 6.x described by trungdv. Essentialy it is not possible to attach a file from deeper folder than &amp;lt;designer&amp;gt;/files/application without being renamed. Example: /application/subdir1/foo.txt will be attached as subdir1_foo.txt&lt;/p&gt;
&lt;p&gt;It means, you cannot consider sending more files in time lapse with one file name from your application dir without workaround, which is VERY uncomfortable.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">josef_koupal</dc:creator><pubDate>Fri, 23 Dec 2016 10:22:56 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2322</guid></item><item><title>Comment by trungdv on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2235</link><description>&lt;p&gt;Hi Reguel&lt;/p&gt;
&lt;p&gt;When i put the email attachment inside [YourDesignerPath]/files/applications/&amp;lt;timestamp_folder&amp;gt;/attachment.png 
then send attachment with relative path (ex: &amp;lt;timestamp_folder&amp;gt;/attachment.png) by email elements,&lt;/p&gt;
&lt;p&gt;i receive an email with attachment name is &amp;lt;timestamp_folder&amp;gt;/attachment.png, 
somehow email elements use the path as name of file. how can i change it? i don't want to have the timestamp folder in my attachment name.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">trungdv</dc:creator><pubDate>Wed, 30 Nov 2016 10:54:00 -0500</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments#2235</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments/1738</link><description>&lt;p&gt;The attachment must be in the file area of the current application. During design time this is always &lt;strong&gt;[YourDesignerPath]/files/applications&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;You can always reach these files via API &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ivy.wf.getApplication().getFileArea();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Its also documented here: &lt;a href="http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.processmodeling.html#d5e5929"&gt;http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.processmodeling.html#d5e5929&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Tue, 19 Apr 2016 15:15:06 -0400</pubDate><guid>https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments/1738</guid></item></channel></rss>