How to configure email service into personal environment?

How to configure email service into personal environment?

  

Hi, I want to send email from my application. I am trying to add SMTP server into outsystems but I don't know the exact process.

Does anyone knows how to configure SMTP server? 

and send email from web screen.

Solution

Gopal Jite wrote:

Hi, I want to send email from my application. I am trying to add SMTP server into outsystems but I don't know the exact process.

Does anyone knows how to configure SMTP server? 

and send email from web screen.

Hi Gopal,

Refer below link to setup SMTP server.

https://www.outsystems.com/help/lifetime/9.0/User_Stories/Configure_OutSystems_Platform_to_Send_Emails.htm


Solution

Thanks Jitendra :) 

HI Gopal,

If you want to send emails from the web screen on click of any button or link, please follow below approaches:

1. 

Set the destination as External URL.

add URL as 

SyntaxEditor Code Snippet

"mailto:" + Site.EmailTo + "?Subject=My email &body=Hi, How are you! "

Site.EmailTo = email ID

2. Add below to an expression. The image referred will be clickable and on click this will open your default email client on your system.

SyntaxEditor Code Snippet

"<a href='mailto:?Subject=My Email &amp;body=Hi, How are you! "&amp; target='_top'> <img src='/Email/emailIcon.png'></a>"


Please let me know if this works.

Thanks,

Som

Hi Som,

Thank you for great explanation :)