84
Views
3
Comments
Sending emails from 2 different smtp servers
Application Type
Reactive

Is it possible to send emails from more than one SMTP Server? (i need to add a new SMTP Server and i read that i could do this with C# but i want to know if i can use the email screen and the usual emails components that are used to edit the email visually. I saw that you can use some forge components to send emails through another SMTP Server but i believe it doesn't let you edit the email visually. You can only pass the Title and the content of the email through variables.) 

2021-01-04 08-13-48
Toto
 
MVP

Hi Steven,


Yes you can use this plugin : https://www.outsystems.com/forge/component-overview/1226/smtpclient (or others similar to this)

What these plugin do is registering SMTP server on C#, so you can have Outsystems SMTP config, and C# SMTP config.

For visually editing the email, yes, most of the plugin isn't develop to do that, but if you want, you can pair the Text editor plugin (example : https://www.outsystems.com/forge/component-overview/6885/ckeditor-reactive) with mustache js (https://mustache.github.io/) for creating visual email template


Thanks

UserImage.jpg
vikas sharma
Champion

Hi

100% agree with Toto, if need to use more than one SMTP details then you need to configure using SMTP client forge components.

Regards

2025-02-10 17-24-13
Arun Rajput

Hi Steven

Agreed with ToTo or Vikas, configuration perspective we need to use SMTP Client forge component. But if possible to get api to send email from both the server then there is no need to use that forge component instead of this you can consume API for sending email.

Hope it helps

Thanks

Arun

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.