How to send a pdf attachment to the Transactional emails | Community
Skip to main content
Level 2
July 9, 2020
Solved

How to send a pdf attachment to the Transactional emails

  • July 9, 2020
  • 1 reply
  • 1661 views

Team,

 

 We have a requirement to send attachments along with the rtEvents .  We have implemented one service that will directly talk to the RT instances (cloud) . We are calling the  RT instance rtEvents method and sending the context information.

 

Client  ----> Microservice -----> Adobe RT instance and calling the rtEvent method

Is it possible to pass the attachment url as a parameter to the rtEvent method? if yes, how adobe reads the attachment and add it to the rtEvent?

 

Please explain me the process. Appreciate your help. 

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 abhshett

Hello @bsudabathula 

To add an email attachment to a transactional message, follow the steps below:

1.
You can send emails via a SOAP message trigger. In the SOAP call, there is a URL parameter (attachmentURL).

2.
When designing your email, click Attachment .
In the Attachment definition screen, enter the SOAP attachment parameter:
<%= rtEvent.ctx.attachementUrl %>

3.
When the message is processed, the system will get the file from the remote location (third-party server) and attach it to the individual message.
Since this parameter can be a variable, it should accept the fully formed remote URL variable of your file, sent via the SOAP call.

Also refer this which explains in more detail and would help answer your queries.
https://docs.adobe.com/content/help/en/campaign-classic/using/transactional-messaging/use-case/transactional-email-with-attachments.html

1 reply

abhshett
abhshettAccepted solution
Level 2
July 9, 2020

Hello @bsudabathula 

To add an email attachment to a transactional message, follow the steps below:

1.
You can send emails via a SOAP message trigger. In the SOAP call, there is a URL parameter (attachmentURL).

2.
When designing your email, click Attachment .
In the Attachment definition screen, enter the SOAP attachment parameter:
<%= rtEvent.ctx.attachementUrl %>

3.
When the message is processed, the system will get the file from the remote location (third-party server) and attach it to the individual message.
Since this parameter can be a variable, it should accept the fully formed remote URL variable of your file, sent via the SOAP call.

Also refer this which explains in more detail and would help answer your queries.
https://docs.adobe.com/content/help/en/campaign-classic/using/transactional-messaging/use-case/transactional-email-with-attachments.html