[eMail Services] Image with email

[eMail Services] Image with email

  
Forge Component
(2)
Published on 2010-12-22 by André Vieira
2 votes
Published on 2010-12-22 by André Vieira

Hello community,


I'm using the EmailSend action to send email through a diferente SMTP server from the one that is configured on the Service Center. With this, i wanted to send these email with images, like signatures. Is this possible in this action?


Best regards,

Rafael Valente

Have a look at this post: https://www.outsystems.com/forums/discussion/18445/background-image-mails/


Images in mails are always tricky as the behaviour will depend on the mail client. No expert however. I'd suggest to make a sample html page and try it out with the diffent clients.

Kurt Vandevelde wrote:

Have a look at this post: https://www.outsystems.com/forums/discussion/18445/background-image-mails/


Images in mails are always tricky as the behaviour will depend on the mail client. No expert however. I'd suggest to make a sample html page and try it out with the diffent clients.

Hello Kurt,


Thank you for your response.

For what i could understand from the solution that your link describes, we need to use an Expression inside the body of the email and put the HTML code inside with the Escape Content set to No. So, if i'm right on that assumption, i'm not sure if the solution presented on your link works for me, because i'm using the EmailSend action from the eMail Services module and not the rich widget Send Email. I see that the EmailSend action has na input parameter called IsHtml. This means that the body of the email will be treated like HTML. If so, all i have to do is paste the code presented in the solution that your link describes? But how about the text that i want to send in the body? The only thing i have to do is paste my text inside the body div?


Best regards,

Rafael Valente