Expand my Community achievements bar.

Retrieval of email address from email endpoint

Avatar

Former Community Member
Hello everyone,



Can someone please let me know if there is any way to get the email address of the person when a process is invoked through email endpoint? I mean the email address from which an email is received which invokes the process.



Regards,

Sunaif

Adobe Consultant
13 Replies

Avatar

Level 8
Level 8
Hi Sunaif,



You can make a string as an extra input variable and in the mapping in the endpoint setup (in AdminUI) your set the value to %SENDER%, this should give you the email address of the sender.



Let me know if this works for you



\Kim

Avatar

Former Community Member
Hi Kim,



Yes it worked for me... thanks :)



Sunaif

Avatar

Former Community Member
can we get the filename of the attachment from the endpoint?

Avatar

Former Community Member
Hi !



I was seeking for this kind of information,

[use of %SENDER% to get the sender's email for an Email Endpoint]

but I cannot find this information on the Adobe documentation !!!



Where do you find it ?



I'm facing the same problem to get the Subject and the Body fields.



For the Subject, I simply put %SUBJECT% to make it possible.



BUT, for the Body, I tried multiple variations : %BODY%, %MESSAGE%

without success. If someone can help for this field ?!



Finally, is it possible to tailor the email sent with the results ? I mean it could be useful to fix the content of both the subject line (something different from "Results from LiveCycle ES") and the body.



Or another possibble approach should be to disable (how ?) the

sending of the result (by the Endpoint itself) in order to let

the service doing the sending job with all the wanted params.



Thanks a lot,

BG.

Avatar

Level 10
This is documented in the help from adminui.



When you setup your email endpoint click on the Application and Services help (top right corner of the page).



Then in the Adding endpoints to services section click on

Email endpoint settings.



Jasmin

Avatar

Former Community Member
After extensive researches,



the provided documentation (for download) was not up-to-date at all !



I found the mention of the %SUBJECT%, %SENDER%, %BODY% and %HEADER%.



All are working EXCEPTING the %BODY% which has a big bug !

Under classic circumstances where you provide a simple text/plain

for the body of your email, LC doesn't map it to the %BODY% field.

(this last one remains EMPTY).



If you create a "rich" body with the type "text/html", the body

of the message is correctly mapped to %BODY% !!!!!!!!!!!



For the rest,

Can we imagine to initiate a service using an email endpoint

and provide the results by dropping them into a folder WITHOUT

receiving any message from LC ?



Thanks,

BG.

Avatar

Level 10
Make sure to open a bug with support.



Jasmin

Avatar

Former Community Member
You can disable the sending of the results back from the endpoint. If you go to the "Add Endpoint" screen in adminui and click on the help icon, you can see the following information under the email endpoint configuration settings:



Recipient Successful Job

An email address to which messages are sent to indicate successful jobs. By default a successful job message is always sent to the sender. If you type sender, email results are sent to the sender. Up to 100 recipients are supported. Specify additional recipients with email addresses, separated by commas (,).



To turn off this option, leave the attribute blank. There may be some cases where you want to trigger a process and do not want an email notification of the result.



Recipient Failed Job

An email address to which messages are sent to indicate failed jobs. By default a failed job message is always sent to the sender. If you type sender, email results are sent to the sender. Up to 100 recipients are supported. Specify additional recipients with email addresses, separated by commas (,).



To turn off this option, leave the attribute blank. There may be some cases where you want to trigger a process and do not want an email notification of the result.



Justin Klei

Cardinal Solutions Group

Avatar

Former Community Member
Hi Justin Klei !



I thought they were mandatory fields !



Thanks a lot !!!



BG.

Avatar

Former Community Member
George,

Could you figure out how to make %BODY% work? We are having the same issue. Everything else gets populated (subject, sender etc) into string field on the form but not the body. BTW we use Groupwise for emails.

Thanks,

Kumar

Avatar

Former Community Member
sgomatham,



I opened a case at the Adobe Support some days ago.



For me, it's clearly a bug and you can easily reproduce it.



Until now, I found only one workaround which is not acceptable

for our needs : Provide a Text/Html body with at least one attachment !



I'm waiting for the feedback from the Support.



I can keep informed,

George.

Avatar

Level 9

If this is critical for you, you can "roll your own" Email endpoint using a looping process. It will contain Email>receiveEmail, a Wait step, and a sub-process invocation.

If you need more help, read this "Patterns" paper, which describes how this used to be done in the days before watch folders.

The details are different, the principle is the same.

http://www.avoka.com/resources/resources/TheWatchFolderPattern.pdf

Howard

http://www.avoka.com