Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Trouble when coding LiveCycle to set up an email with .


Level 1

Hi all

I have been using Adobe LiveCycle Designer E4 where I work on forms.

For one of the functions on that form, I need to be able to send an email to a designated person with the form as an attachment. This works without any problem.

The real issue comes when I want to add cc recipients to it. When implementing my code (XML), i have them in the desired cc, but I can not remove them from the to box.

I am using following code:


<submit format="pdf" textEncoding="UTF-16" target="; ?cc= ?subject=BLABLA" xdpContent="pdf datasets">

And this is the output I get:


When i do it with following code (emails are recognized):


<submit format="pdf" textEncoding="UTF-16" target="; ?cc= ?subject=BLABLA" xdpContent="pdf datasets">

I get:


Can somebody help me out?

Thank you!


3 Replies


Level 10

You mailTo syntax is incorrect, that's why you having the unwantend effects with the cc.

Change it this way to make it work correctly:

<submit format="pdf" textEncoding="UTF-16" target=";subject=BLABLA" xdpContent="pdf datasets">


Level 1

Hi radzmar

Thank you for your response!

I have already seen that type of code pass by in this forum but when I apply the exact same code as yours, Microsoft Outlook can not recognize the mail address and i get following error message:


So I think that Outlook is reading it as one big email address. In my previous code, the spaces and punctuation marks I added, helped that part of the problem. If i modify your code to the following:


<submit format="pdf" textEncoding="UTF-16" target="; ?cc= &amp;subject=BLABLA" xdpContent="pdf datasets">

I get the following:


Same initial problem but the Subject has been modified.


The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now