Auto Email send Upon Form submission | Community
Skip to main content
Level 2
April 19, 2018
Solved

Auto Email send Upon Form submission

  • April 19, 2018
  • 5 replies
  • 5389 views

Hi,

I have a landing page which is hosted in adobe, and this page has a form where few text fields(FirstName, LastName, Email & Subscription Services) are added. Upon the submission of form needs to send an email immediately to the registrants with some personalized content from the form data like "Dear FirstName, Thanks for subscribing serviceA, Service B".

Let me know if this is possible in Adobe campaign with out using Transactional messaging module.

Thanks,

Moseen

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by davidk46719882

Hi Moseen,

In ACC, you can do it by using the logic of the default register recipients web App.

Basically to send an email you have to use a script like this

// Send confirmation

nms.delivery.QueueNotification("confirmation",

<delivery>

<targets>

  <deliveryTarget>

    <targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>

      <where>

        <condition expr={'@id ='+ ctx.recipient.@id}/>

      </where>

    </targetPart>

  </deliveryTarget>

</targets>

</delivery>)

But be aware that you may have a limitation based on the volume and the number of the engine call defined in your license.

Thanks

David

5 replies

davidk46719882
davidk46719882Accepted solution
Level 2
April 19, 2018

Hi Moseen,

In ACC, you can do it by using the logic of the default register recipients web App.

Basically to send an email you have to use a script like this

// Send confirmation

nms.delivery.QueueNotification("confirmation",

<delivery>

<targets>

  <deliveryTarget>

    <targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>

      <where>

        <condition expr={'@id ='+ ctx.recipient.@id}/>

      </where>

    </targetPart>

  </deliveryTarget>

</targets>

</delivery>)

But be aware that you may have a limitation based on the volume and the number of the engine call defined in your license.

Thanks

David

ShrawanSaxena-1
Adobe Employee
Adobe Employee
April 19, 2018

You can also think of using writing java code to send an email.

Please see below similar thread.

How to send an email through an javascript

Level 2
April 19, 2018

Hi Shrawan ,

Thanks for the reply, can we able to pass context variable in this method to personalize the content in the delivery?

Level 2
April 20, 2018

Hi Shrawan,

Is there a better way to implement this, any suggestions would be appreciated and also would like to tell you that queue notification method is not working insted submitdelivery mehtod is working but it generates each delivery log for every single submission. My requirement is to append the delivery logs on the single execution so that we can avoid large volume of logs and also to extract the reports from single point.

Let me know is there any better way to implement this in Adobe campaign.

Thanks,

Moseen

florentlb
Level 10
May 15, 2018

Hi Moseen,

Have you found a way to achieve this since your last answer?

I can't really help with JavaScript but following up anyway.

Florent