Questions Tagged With emailhttps://answers.axonivy.com/tags/email/?type=rssquestions tagged <span class="tag">email</span>enThu, 23 Jul 2020 08:59:39 -0400Email bounced Addresshttps://answers.axonivy.com/questions/4651/email-bounced-address<p>Hallo Ivyteam</p> <p>Is there a possibility to set the bounce-address used for Sending Email using the E-Mail Step (Element) ? Example: <a href="https://www.tutorialspoint.com/javamail_api/javamail_api_bounced_messages.htm">https://www.tutorialspoint.com/javamail_api/javamail_api_bounced_messages.htm</a></p> <p>It should be sufficient to set the system property "mail.smtp.from", which i cannot find in Engine administration / System Properties.</p> <p>Danke Josef Koupal</p>josef_koupalThu, 23 Jul 2020 08:59:39 -0400https://answers.axonivy.com/questions/4651/email-bounced-addressemailHow can we customize the the Email Notification on task assignement?https://answers.axonivy.com/questions/4489/how-can-we-customize-the-the-email-notification-on-task-assignement<p>Hello All, </p> <p>I saw that there is documentation about how to change the default email content, plus the question here: <a href="https://answers.axonivy.com/questions/4261/how-to-customize-task-notification-email-template.">https://answers.axonivy.com/questions/4261/how-to-customize-task-notification-email-template.</a> I am asking how could we define/ or customize the receivers of this email?</p> <p>Thanks a ton :)</p> <p>Alex</p>a_v_aTue, 07 Apr 2020 01:03:28 -0400https://answers.axonivy.com/questions/4489/how-can-we-customize-the-the-email-notification-on-task-assignementprocessnotificationsemailHow to customize Task Notification Email Template?https://answers.axonivy.com/questions/4261/how-to-customize-task-notification-email-template<p>Hi Ivy Team,</p> <p>I'm working with the story, which requires to customize the task notification email template (system email). There is something need to be changed, correspond with the proper project: - Replace Logo (default is axonivy logo). - Override the hyperlink, redirect to somewhere, when clicking on the logo - Change the email subject (I need to detailly share the info of my project)</p> <p>Could you help to advise?</p> <p>Thanks, Thanh NGUYEN (AxonActive VN).</p>Thanh NGUYENMon, 09 Dec 2019 23:36:29 -0500https://answers.axonivy.com/questions/4261/how-to-customize-task-notification-email-templateemailMax thread limit exceeded when using office365 SMTP serverhttps://answers.axonivy.com/questions/4143/max-thread-limit-exceeded-when-using-office365-smtp-server<p>Hi,</p> <p>When using Office365 SMTP server to send email with IVY (daily summary), I got an error from the SMTP server :</p> <p>com.sun.mail.smtp.SMTPSendFailedException: 432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded [Hostname=VI1P190MB0189.EURP190.PROD.OUTLOOK.COM]</p> <p>This error occurs because IVY try to send more then 3 emails at the same time (using multiple threads). I didn't find any configuration I can change in the system properties to limit the number of thread used.</p> <p>Do you have any workaround for this ?</p> <p>Tx in advance.</p> <p>Fabien Duay</p>fabienWed, 06 Nov 2019 02:55:11 -0500https://answers.axonivy.com/questions/4143/max-thread-limit-exceeded-when-using-office365-smtp-serveremailthreadLog Mail with Log4J SMTP Appender doesn't workhttps://answers.axonivy.com/questions/3601/log-mail-with-log4j-smtp-appender-doesn-t-work<p>Hello, i want Axon Ivy to send an Email when there is an error so i added this code to "log4jconfig.xml":</p> <pre><code>&lt; appender name="EmailAppender" class="org.apache.log4j.net.SMTPAppender"&gt; &lt; param name="BufferSize" value="512" / &gt; &lt; param name="SMTPHost" value="smtp.gmail.com" / &gt; &lt; param name="SMTPProtocol" value="smtps" / &gt; &lt; param name="SMTPPort" value="465" / &gt; &lt; param name="SMTPUsername" value=" *** " / &gt; &lt; param name="SMTPPassword" value=" *** " / &gt; &lt; param name="From" value=" *** " / &gt; &lt; param name="To" value=" *** " / &gt; &lt; param name="Subject" value="Testing Log4j Mail Notification" / &gt; &lt; layout class="org.apache.log4j.PatternLayout"&gt; &lt; param name="ConversionPattern" value="%-7p %d [%t] %c %x - %m%n" / &gt; &lt; /layout &gt; &lt; /appender &gt; &lt; root &gt; &lt; level value ="WARN" / &gt; &lt; appender-ref ref="FileLog"/ &gt; &lt; appender-ref ref="EmailAppender"/ &gt; &lt; appender-ref ref="ConsoleAppender"/ &gt; &lt; /root &gt; </code></pre> <p>The FileLog works but i dont receive the email. When i change the order to this:</p> <pre><code>&lt; appender-ref ref="EmailAppender"/ &gt; &lt; appender-ref ref="FileLog"/ &gt; </code></pre> <p>then the FileLog and the MailAppender doesn't work. <br> When i use the same code in an Eclipse Java Project it works and i get the email. </p> <p>What should i do?</p> <p>Edit: Do i have to add mail.jar and activation.jar to my build path in Axon Ivy? In Eclipse i added them to lib and it worked but i don't know how to integrate them to Axon Ivy.</p> <p>Edit2: With Log4j debug=true i get this Error in my logfile: <br> 2019-01-22 16:21:32.230 ERROR [ch.ivyteam.log.LoggerFactory] [main] [] Log4j: Could not configure java.lang.NoClassDefFoundError: javax/mail/internet/AddressException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at java.lang.Class.getConstructor0(Class.java:3075) at java.lang.Class.newInstance(Class.java:412) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:247) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176) <br> ...</p>karstenkThu, 03 Jan 2019 05:05:38 -0500https://answers.axonivy.com/questions/3601/log-mail-with-log4j-smtp-appender-doesn-t-workxmlloggingemaillog4jHow to send user defined text in TASK DESCRIPTIONhttps://answers.axonivy.com/questions/3509/how-to-send-user-defined-text-in-task-description<p><img alt="alt text" src="https://answers.axonivy.com/upfiles/Hardcopy_1_-_Task_List_zkt09Yb.jpg"><img alt="alt text" src="https://answers.axonivy.com/upfiles/Hardcopy_2_-_TASK_Mail.jpg">Dear all,</p> <p>I have the following problem: A HTML-formatted text in the field TASK DESCRIPTION is displayed correct within the task list. Please see the blue colored in the hardcopy.</p> <p>But the HTML-formatted text is not shown correct in the Assing-New Task-Mail.</p> <p>See the red colored in the second hardcopy.</p> <p>What can I do to create "well-shown well-formatted" Task creation mails.</p> <p>Thank you in advance.</p> <p>Best regards</p> <p>Dieter</p> <p>Sorry I don't have the right to upload a pdf with the hardcopies.</p>Dieter StaudtThu, 25 Oct 2018 11:10:34 -0400https://answers.axonivy.com/questions/3509/how-to-send-user-defined-text-in-task-descriptiontaskemailDisplaying override sender of Ivy mail using utf-8 charsethttps://answers.axonivy.com/questions/3459/displaying-override-sender-of-ivy-mail-using-utf-8-charset<p>Hi All, I'm using Ivy Mail (ivy 7.1) to sending email.</p> <p>Now I have a need to override the mail's sender, I'm using a variable with name "in.from" and set to From field of Ivy mail (like below picture). <img alt="alt text" src="https://answers.axonivy.com/upfiles/email_function.PNG"> If value of From field is in English -&gt; It's work. (my text: George Jones &lt; SharedGroup.Org&gt;)</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/sender_worked.PNG"></p> <p>But if my text is in German language, the sender will not be displayed correctly anymore (below picture)<br> (For example the value of sender's text is: George á Jones &lt; SharedGroup.Org&gt; )</p> <p>It also auto append 2 double quote string to my text.</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/sender_error_in_utf-8.PNG"></p> <p>Is there any way to define the charset utf-8 for the sender's name?</p> <p>Like in Java mail we have: new InternetAddress("abc@gmail.com", "吃在华科", "<strong>UTF-8</strong>")</p> <p>Thank you!</p>nhthangThu, 27 Sep 2018 11:35:39 -0400https://answers.axonivy.com/questions/3459/displaying-override-sender-of-ivy-mail-using-utf-8-charsetivy7emailHow to define 'from' inIvy.Mail with spaces and special characters?https://answers.axonivy.com/questions/3444/how-to-define-from-inivy-mail-with-spaces-and-special-characters<p>Dear all, Sorry for creating a new topic. My original question was this one <a href="https://answers.axonivy.com/questions/3431/how-to-define-sender-name-in-axon-ivy-mail">https://answers.axonivy.com/questions/3431/how-to-define-sender-name-in-axon-ivy-mail</a></p> <p>I wanted to define a sender name in Ivy.Mail. And Thank <a href="https://answers.axonivy.com/users/11/reto-weiss">@Reto Weiss</a>, your instruction helped. But the problem is that I can't send an email defined 'from' with spaces and special character. The text I tried was 'Sony AG, john.smith@sony.ch'. Many thanks,</p>an_nguyenTue, 25 Sep 2018 22:50:31 -0400https://answers.axonivy.com/questions/3444/how-to-define-from-inivy-mail-with-spaces-and-special-charactersivy7emailivyHow to define sender name in Axon.Ivy Mail?https://answers.axonivy.com/questions/3431/how-to-define-sender-name-in-axon-ivy-mail<p>Dear all,</p> <p>We are using Ivy.Mail to send emails and now we need to define sender name for those emails. Here is what I expect: <img alt="alt text" src="https://answers.axonivy.com/upfiles/pastedImage.png"></p> <p>In the picture we have "Sony AG, ..." as a sender name beside "noreply@klara.ch".</p> <p>But seems that Ivy7 doesn't support us to do it.</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/Capture_JCFKpo0.JPG"></p> <p>Actually, we can solve it by using Java Mail (we need to get email configuration from system properties). But it is not a official way and it is not very nice to get the email password from system properties.</p> <p>Do you have any ideas regarding this situation? Many thanks</p>an_nguyenThu, 20 Sep 2018 05:02:50 -0400https://answers.axonivy.com/questions/3431/how-to-define-sender-name-in-axon-ivy-mailivyemailCannot send email in designer using SimpleMailSender APIhttps://answers.axonivy.com/questions/3262/cannot-send-email-in-designer-using-simplemailsender-api<p>Hi, I'm trying to use ivy API to send mail in my Designer (v7.1.0.58009). I send an email with code snippet like this:</p> <p><code> SimpleMailSender mailSender = new SimpleMailSender(attachmentFiles, emailConfig, Ivy.log()); mailSender.sendMessage(); </code></p> <p>But I got an exception with content: </p><pre>Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712) at javax.mail.Service.connect(Service.java:366) at javax.mail.Service.connect(Service.java:246) at javax.mail.Service.connect(Service.java:195) at javax.mail.Transport.send0(Transport.java:254) at javax.mail.Transport.send(Transport.java:124) at ch.ivyteam.ivy.email.internal.SendMail.doSendMessage(SendMail.java:136) at ch.ivyteam.util.callable.AbstractExecutionContext.lambda$0(AbstractExecutionContext.java:28) at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:16) at ch.ivyteam.util.callable.AbstractExecutionContext.executeInContext(AbstractExecutionContext.java:26) at ch.ivyteam.ivy.email.internal.SendMail.sendMessage(SendMail.java:115) at ch.ivyteam.ivy.email.SimpleMailSender.sendMessage(SimpleMailSender.java:94) at ch.ivy.gawfs.mail.Mail.lambda$0(Mail.java:29) at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:16) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1128) at ch.ivy.addon.portalkit.util.IvyExecutor.executeAsSystem(IvyExecutor.java:14) ... 123 more </pre><p></p> <p>I think the problem is that API SimpleMailSender.sendMessage() uses <strong>port 25</strong> which is cannot be accessed to connect to SMTP server: <strong>Couldn't connect to host, port: localhost, 25; timeout -1</strong>. I also tested email sending function with UI and could send email successfully: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Capture_6KER93W.PNG"></p> <p>You see, it's using port <strong>2525</strong>. If I change port to <strong>25</strong>, I cannot send email. So how can I config the port when sending the email with ivy API? Thank you</p>nguyen_toThu, 10 May 2018 00:29:22 -0400https://answers.axonivy.com/questions/3262/cannot-send-email-in-designer-using-simplemailsender-apidesigneremailMax size for total attachment when send email via ivy mailhttps://answers.axonivy.com/questions/3233/max-size-for-total-attachment-when-send-email-via-ivy-mail<p>Dear Ivy Team, When I attach some attachments and total size for attachment greater than about 8MB I can not send email otherwise I can. I don't know whether there is a configuration about it or not. Do you have any idea about it? Thank you Ivy Team</p>maidanhMon, 23 Apr 2018 05:51:59 -0400https://answers.axonivy.com/questions/3233/max-size-for-total-attachment-when-send-email-via-ivy-mailemailCan not display special character (german) on New Task Mail Notificationhttps://answers.axonivy.com/questions/3209/can-not-display-special-character-german-on-new-task-mail-notification<p>Hi all </p> <p>I'm using ivy 6.3 andI follow this <a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification-design">guideline</a> to custom new task notification (html format). It works fine except the special characters like : üöäß (inside end page) The email content is broken (mail client on browser like IE/chrome)</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_2d0OSzD.png"></p> <p>Does ivy support to escape those characters?</p> <p>Thanks</p>trungdvWed, 18 Apr 2018 07:02:18 -0400https://answers.axonivy.com/questions/3209/can-not-display-special-character-german-on-new-task-mail-notificationemailHow to change encode of email notification of ivy?https://answers.axonivy.com/questions/3074/how-to-change-encode-of-email-notification-of-ivy<p>hi ivy team</p> <p>My project (ivy 6.3.0) is using the feature about email notification when user has a new task: <a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification">https://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification</a> but it have trouble with German character as you see in picture below: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled2.png"></p> <p>When i use java mail, i use UTF-8 format so it's fine.</p> <p>How can i change encode for this feature on ivy?</p> <p>Thanks</p>trungdvTue, 23 Jan 2018 06:01:17 -0500https://answers.axonivy.com/questions/3074/how-to-change-encode-of-email-notification-of-ivyemailMultiple recipients on email elementhttps://answers.axonivy.com/questions/3028/multiple-recipients-on-email-element<p>Hi all</p> <p>I have a feature to send one email to several recipients, can i use email elements in ivy to do that? When i tried with ivy designer it's seem to work. <img alt="alt text" src="https://answers.axonivy.com/upfiles/rr.jpg"> but not for ivy engine <img alt="alt text" src="https://answers.axonivy.com/upfiles/maoi-3_GX8xNdk.png"></p> <p><a href="https://github.com/aavn-backyard/ivy-email-sender">Here</a> is demo project that you can use for test. </p> <p>Thanks</p>trungdvThu, 14 Dec 2017 02:32:55 -0500https://answers.axonivy.com/questions/3028/multiple-recipients-on-email-elementemailAttachments of all Case Documents to Emailhttps://answers.axonivy.com/questions/2805/attachments-of-all-case-documents-to-email<p>In our projects we want to attach all documents which are appended to a specific case.</p> <p>More in detail:</p> <ol> <li>User attaches multiple files to a case</li> <li>Script step to prepare e-mail</li> <li>send email with help of the email step</li> </ol> <p>What do we need to do in step 2? Can you provide a short code snippet? Thanks a lot in advance!</p> <p>In our Project we use Ivy 6.0.6.</p>Alex WidmerFri, 11 Aug 2017 10:02:45 -0400https://answers.axonivy.com/questions/2805/attachments-of-all-case-documents-to-emailcaseemailDifference between Email.Server.MailAddress & Email.Server.User?https://answers.axonivy.com/questions/2781/difference-between-email-server-mailaddress-email-server-user<p>Hi guys,</p> <p>Recently I come to wonder what's the difference between the two configuration of email.</p> <pre><code>EMail.Server.MailAddress EMail.Server.User </code></pre> <p>As I saw that when I try to send mail using email element in process, I specified the "From" field, but it sent the mail using the one I specified at <code>EMail.Server.User</code>.</p> <p>Could you help me differentiate these fields as their purposes? May I have some thing wrong in the configuration?</p>ToanLCThu, 27 Jul 2017 07:03:36 -0400https://answers.axonivy.com/questions/2781/difference-between-email-server-mailaddress-email-server-userprocessemailivySMTPSendFailedException - You're not in the list of allowed users to send e-mails to this domain - stay outhttps://answers.axonivy.com/questions/2700/smtpsendfailedexception-you-re-not-in-the-list-of-allowed-users-to-send-e-mails-to-this-domain-stay-out<p>hi all</p> <p>When i use email element of ivy to send email (both from &amp; to belong to domain axonivy.io) i usuallt get this exception. Do you know what does it mean? Am i in blacklist of mail server or something wrong here?</p> <p>Thanks</p>trungdvWed, 14 Jun 2017 23:56:33 -0400https://answers.axonivy.com/questions/2700/smtpsendfailedexception-you-re-not-in-the-list-of-allowed-users-to-send-e-mails-to-this-domain-stay-outemailHow to use the mail activitiy with unicode characters in text fieldshttps://answers.axonivy.com/questions/2616/how-to-use-the-mail-activitiy-with-unicode-characters-in-text-fields<p>Dear all,</p> <p>since the end of 2016 we are able to store utf-8 / unicode characters in mssql databases (see #2210 - How to store mandarin chinese text into a MsSql database). But we tried to use this posibility with the mail activity. But we have no succes :-(</p> <p>The internal fields in the data clause which will be passed to the mail are correct. But the result will show ? for each unicode character. For exanple: CHANGE: Expiration date changed ????SHANGHAI</p> <p>What can we do that the sended / received mails will contain unicode characters.</p> <p>Best Regards Dieter </p>Dieter StaudtThu, 11 May 2017 10:39:30 -0400https://answers.axonivy.com/questions/2616/how-to-use-the-mail-activitiy-with-unicode-characters-in-text-fieldsutf-8emailHow to get url for Task in Emailhttps://answers.axonivy.com/questions/2571/how-to-get-url-for-task-in-email<p>Hello Ivy Team,</p> <p>I`m building a process for overriding the default email notifications as described here: <a href="http://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-applicationdefaults">http://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-applicationdefaults</a></p> <p>I have a problem to build an URL to the task.</p> <p>I`m trying this ways, but no luck:</p> <pre><code>in.task = ivy.wf.findTask(in.notificationTaskId); in.taskUrl = ivy.html.taskstartref(in.task); in.taskUrl = ivy.var.FQDN + in.task.getFullRequestPath() + "?taskId=" + in.notificationTaskId.toString(); </code></pre> <p>the URL is valid but the Id of the task is different than in the Task List view.</p> <p>I`m using version 6.4</p> <p>Am I doing something wrong or this is a bug in this version ? p.s. it does not work bot on the Designer and on the Server</p> <p>Best Regards, Yordan</p>Stelt0Thu, 06 Apr 2017 08:30:18 -0400https://answers.axonivy.com/questions/2571/how-to-get-url-for-task-in-emailurltaskemailHow to read file from a subfolder in files/application?https://answers.axonivy.com/questions/2529/how-to-read-file-from-a-subfolder-in-files-application<p>Hello,</p> <p>we created a subfolder in files/application and uploaded a file in this subfolder. Now I would like to read this file to send it as an Email-attachment.</p> <pre><code>File f = new File("subfolder\\testfile.pdf",false); java.io.File Anhang =new java.io.File(f.getName()); in.anhang=Anhang; </code></pre> <p>But ivy doesn't find the File. When we upload the file directly in files/application it works.</p> <p>Thank you.</p>hayitFri, 24 Mar 2017 13:48:34 -0400https://answers.axonivy.com/questions/2529/how-to-read-file-from-a-subfolder-in-files-applicationfileuploademailfilechange OOTB task emailshttps://answers.axonivy.com/questions/2502/change-ootb-task-emails<p>Hello Ivy Team,</p> <p>Is it possible to override the default email templates that are sent by the task notifications ? Mainly I want to change their branding according to customer specifications.</p> <p>Best Regards, Yordan</p>Stelt0Mon, 20 Mar 2017 06:57:45 -0400https://answers.axonivy.com/questions/2502/change-ootb-task-emailsdesigneremailCan we send Encrypted Emails in ivy?https://answers.axonivy.com/questions/2166/can-we-send-encrypted-emails-in-ivy<p>Hi all The question is the same with the title. i would like to encrypt email before sending, i've tried with jana mail but just want to ask whether we have any support from ivy mail or not?</p> <p>Reference: <a href="http://stackoverflow.com/questions/300334/how-to-send-encrypted-emails-programmatically-from-an-automated-process">How to Send Encrypted Emails Programmatically (from an automated process)</a></p> <p>Thanks</p>trungdvTue, 08 Nov 2016 03:48:42 -0500https://answers.axonivy.com/questions/2166/can-we-send-encrypted-emails-in-ivyaxon.ivyemailhow to access smtp server without authentication?https://answers.axonivy.com/questions/2078/how-to-access-smtp-server-without-authentication<p>I'm using Gmail as SMTP server and I'd like to access the server without authentication. when I try to connect it keeps giving me an error in the configuration java application.</p>enricojlThu, 06 Oct 2016 00:54:02 -0400https://answers.axonivy.com/questions/2078/how-to-access-smtp-server-without-authenticationemailHas method findWorkTasks() used for sending daily tasks changed in ivy 6.x?https://answers.axonivy.com/questions/1987/has-method-findworktasks-used-for-sending-daily-tasks-changed-in-ivy-6-x<p>We have upgraded an existing ivy 4.3.x project to ivy 6.0.4. After the update all users who receive the daily task email suddenly have some strange tasks in their email. After a short research I found that the following API method creates the list of tasks for the user:</p> <pre><code>ch.ivyteam.ivy.workflow.IWorkflowContext.findWorkTasks(IUser user, int startIndex, int count) </code></pre> <p>As we haven't actually changed anything at all I guess that this method now returns more tasks than in earlier versions. The additional tasks have an activator called "Top level role" and the expiryTimestamp is not set. </p> <p>Can anyone confirm this change in findWorkTasks or has an idea what the reason of this behaviour is?</p> <p>regards, marco </p>ruffzyWed, 24 Aug 2016 13:31:16 -0400https://answers.axonivy.com/questions/1987/has-method-findworktasks-used-for-sending-daily-tasks-changed-in-ivy-6-xapiemailtaskEmail Templating enginehttps://answers.axonivy.com/questions/1924/email-templating-engine<p>Hello all,</p> <p>Does the templating engine of the Email activity supports iteration over collections and if-else statements ?</p> <p>If so, what is the syntax ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Thu, 28 Jul 2016 07:25:04 -0400https://answers.axonivy.com/questions/1924/email-templating-engineemailEmail template in CMShttps://answers.axonivy.com/questions/1922/email-template-in-cms<p>Hello all,</p> <p>Is it possible to store HTML template for emails in CMS and still use the &lt;%= %&gt; placeholders ?</p> <p>for example: </p><table> <tbody><tr> <td>New Event: <strong>&lt;%=in.event.channel.name%&gt;</strong><p></p> <p>I have added one JSP resource in CMS and referenced it in the Email Activity: &lt;%=ivy.cms.co("/emailTemplates/email")%&gt;</p> <p>but it didn`t worked.</p> <p>Best Regards, Yordan Yunchov</p></td></tr></tbody></table>Stelt0Wed, 27 Jul 2016 12:49:31 -0400https://answers.axonivy.com/questions/1922/email-template-in-cmsemailEncoding issue when sending mail with Ivy Engine (charset=ISO-8859-1)https://answers.axonivy.com/questions/1819/encoding-issue-when-sending-mail-with-ivy-engine-charset-iso-8859-1<p>Recently, as I work with German characters. The email content will display correctly only if I send the email locally using Ivy Designer.</p> <p>If I send the email on server with the same encoding <strong>(charset=ISO-8859-1)</strong>, so in order to send the email with the correct encoding I have to replicate SendMail.java class and change the following method.</p> <pre><code> private String getContentType(String msg) { /* 446 */if (isHtml(msg)) { /* 448 */return "text/html; charset=ISO-8859-1"; } /* 450 */return "text/plain; charset=ISO-8859-7"; </code></pre> <p>May I ask if there is any configuration on Ivy Engine that override this configuration of the email?</p>ToanLCFri, 17 Jun 2016 11:53:31 -0400https://answers.axonivy.com/questions/1819/encoding-issue-when-sending-mail-with-ivy-engine-charset-iso-8859-1emailencodingHow send an Email with Attachments?https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachments<p>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?</p>RMS71Tue, 19 Apr 2016 10:16:36 -0400https://answers.axonivy.com/questions/1737/how-send-an-email-with-attachmentsemailCan I send task mails from designerhttps://answers.axonivy.com/questions/1733/can-i-send-task-mails-from-designer<p>I've created a custom task mail process similar to the one in the JsfWorkflowUi. <a href="http://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification-design">http://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification-design</a></p> <p>Unfortunately I'm not able to receive any task mail if I simulate a process that create a new task. But it works on a real engine...</p>SupportIvyTeamThu, 14 Apr 2016 10:58:39 -0400https://answers.axonivy.com/questions/1733/can-i-send-task-mails-from-designertaskemailSend mail with embedded attachmentshttps://answers.axonivy.com/questions/1721/send-mail-with-embedded-attachments<p>I'd like to send a mail with embedded attachments. The mail content must contain pictures, but they should not be shown as attachments by a mail client.</p>SupportIvyTeamFri, 08 Apr 2016 09:21:24 -0400https://answers.axonivy.com/questions/1721/send-mail-with-embedded-attachmentsemail