Dear all, Sorry for creating a new topic. My original question was this one https://answers.axonivy.com/questions/3431/how-to-define-sender-name-in-axon-ivy-mail I wanted to define a sender name in Ivy.Mail. And Thank @Reto Weiss, 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, |
Hi An It works for me if I use the following format (RFC822):
More Information can be found on the following class:
Regards |
Dear @Reto Weiss, @Reguel-Wermelinger, (Sorry, This is actually a comment (not the answer like its function), because I need to add a picture to explain my problem more clearly.) Continue with above problem (I & asker are in the same team :)) ), This is my email step information, before add value for From field, we have value for Subject, Reply to, To, and in this time, email function work perfectly. now, I add <%=in.from=> to From field in E-mail Header (as in picture), in.from is String type And before go to this Email step, I try to set your value Sony AG < john.smith@sony.ch> to variable in.from, but it's not work. Email cannot be sent.
Is there any wrong here? Thank you very much for the reading. This works for me with version 7.0.7 Designer. Which version are you using? What means does not work? Is there an error? Is there a log that tells it is not working? Anything? My Ivy version: 7.1.0 (Weisshorn) , email cannot be sent, In the same process file here, we have an Error start event to catch all the errors happend, there are some logs here which we print by object error.stackTrace: (I separate by some below comments): [ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:204), ch.ivyteam.ivy.bpm.engine.restricted.error.BpmErrorConverter.toBpmError(BpmErrorConverter.java:44), ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.BackgroundActivityExecutorAdapter.handleErrorAndTimeout(BackgroundActivityExecutorAdapter.java:80), ... [ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:204), ch.ivyteam.ivy.bpm.engine.restricted.error.BpmErrorConverter.toBpmError(BpmErrorConverter.java:44), ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.BackgroundActivityExecutorAdapter.handleErrorAndTimeout(BackgroundActivityExecutorAdapter.java:80), ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.BackgroundActivityExecutorAdapter.handleBackgroundOperationResult(BackgroundActivityExecutorAdapter.java:66), ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.BackgroundActivityExecutorAdapter.executeInProcessElementRequest(BackgroundActivityExecutorAdapter.java:50), ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ProcessElementRequestExecutorAdapter.lambda$0(ProcessElementRequestExecutorAdapter.java:44), ch.ivyteam.util.callable.AbstractExecutionContext.lambda$2(AbstractExecutionContext.java:44), ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:16), ch.ivyteam.util.callable.AbstractExecutionContext.callUncheckedInContext(AbstractExecutionContext.java:57),...] Hi This seems to be more a support case than a Q&A. Can you please start a support ticket about this. You can simple do this by sending a mail to support@axonivy.com. Thanks I will, Thanks for the supporting!
showing 5 of 6
show 1 more comments
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 25.09.2018 at 22:50
Seen: 2,516 times
Last updated: 27.09.2018 at 10:41
Hi An Can you provide me the code you use with Java Mail to set the text? Thanks