Image in an email body via safelink() method.

Certified Associate Developer

Hi, 

I'm trying to create an email template for outlook using the following code snippet, 

a!safeLink(
  uri: concat(
    "mailto://",
    ri!email,
    "?subject=",
    "Random Text",
    "&cc=",
    "abc.com",
    "&Body= Hello",
    
  )
)

I have to add the company logo in the signature of the email body, can someone please let me know if this is possible? If so, direct me on how to do implement this. 

Thanks in advance. 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Are you trying to send an email from Appian or just create a link that will open the user's email client?

    Your example code implies you are trying to create a link to open the user's email client and create the body. Adding an image that way isn't possible with HTML. If your users already have their company logo in the signature of their email client then it would work. You would need to evaluate that scenario with your user community.

    Alternatively, you can kick off a process and use the send email smart service such that the email is formatted and sent from Appian, rather than the user. There are a fair amount of posts on community about adding images to an email using the smart service if you need guidance on how to configure the node for your use case.

    docs.appian.com/.../Send_Email_Smart_Service.html

Reply
  • 0
    Certified Lead Developer

    Are you trying to send an email from Appian or just create a link that will open the user's email client?

    Your example code implies you are trying to create a link to open the user's email client and create the body. Adding an image that way isn't possible with HTML. If your users already have their company logo in the signature of their email client then it would work. You would need to evaluate that scenario with your user community.

    Alternatively, you can kick off a process and use the send email smart service such that the email is formatted and sent from Appian, rather than the user. There are a fair amount of posts on community about adding images to an email using the smart service if you need guidance on how to configure the node for your use case.

    docs.appian.com/.../Send_Email_Smart_Service.html

Children