Auto Email send Upon Form submission | Community
Skip to main content
Level 2
Apr 19, 2018 11:46 AM UTC
Solved

Auto Email send Upon Form submission

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.
davidk46719882
davidk46719882Accepted solution
Level 2
Apr 19, 2018 3:14 PM UTC

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

florentlb
Level 10
May 15, 2018 7:09 AM UTC

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

Translate
Level 2
Apr 20, 2018 3:02 PM UTC

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

Translate
Level 2
Apr 19, 2018 3:55 PM UTC

Hi Shrawan ,

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

Translate
ShrawanSaxena-1
Employee
Apr 19, 2018 3:27 PM UTC

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

Translate
davidk46719882
davidk46719882Accepted solution
Level 2
Apr 19, 2018 3:14 PM UTC

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

Translate