Multiple Email Server configuration support
4191
Views
55
Comments
On our RadarOn our Radar
Backend
ServiceCenter allows you to config 1 set of email settings, some clients/applications may require the use of multiple email servers.

Example 1
Vendor 1: Is using application X, and they want to send emails from their own server mail.vendor1.com using their own email address service@vendor1.com
Vendor 2: Is using application X,, and they too want to send out emails from their own servers mail.vendor2.com using their own email address service@vendor2.com

Example 2
eSpace application A is using email service@domainA.com
eSpace application B is using email service@domainB.com

Please add capability to support these scenarios.




Able to send out email from different email servers.



Merged from '[ServiceCenter] Support for multiple email server settings' (idea created on 2012-02-20 02:40:16 by Robert Chanphakeo), on 2013-04-04 15:39:24 by Miguel João
Merged this idea with '[ServiceCenter] Support for multiple email server settings' (created on 2012-02-20 02:40:16 by - -)

Let's up this one!

2019-04-07 18-26-39
Vitor Teixeira
Merged this idea with 'Tenant based Email Configuration' (created on 12 Dec 2014 16:05:31 by Frederico Faria de Oliveira)
Hi,

Email configuration should be tenant based.

Each tenant should allow different SMTP server, port, username, password configurations. 
Most importantly, default sender name and e-mail address should be configured per tenant. And for QA/UAT it is also important to have different test list addresses.

Does anyone suggest an alternative in the meanwhile?

Thank you,
Frederico.



This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
I was just wondering if this was possible... I'm shocked that this isn't already here.

This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
I've been doing some digging around, and you can use the RichMail extensions. You don't use the Mail "screen" like things that are built in to the platform, it's much more manual creation.

This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
Merged this idea with 'Support Multiple SMTP servers' (created on 03 Oct 2018 08:56:26 by William Antunes)

This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira

As a multi-tenant platform it would be good if OutSystems has the option to add one or more SMTP servers (like we have with DB Connections).

Sometimes we work with multi-tenant applications and each tenant needs to send e-mails from different servers, so it can solve that problem.



This comment was:
- originally posted on idea 'Support Multiple SMTP servers' (created on 03 Oct 2018 by William Antunes)
- merged to idea 'Tenant based Email Configuration' on 04 Oct 2018 03:39:45 by Justin James


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
2014-02-07 17-02-43
Vasco Pessanha
Changed the category to
Backend


This comment was:
- originally posted on idea 'Support Multiple SMTP servers' (created on 03 Oct 2018 by William Antunes)
- merged to idea 'Tenant based Email Configuration' on 04 Oct 2018 03:39:45 by Justin James


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
Merged this idea with 'Allow email settings to be configured more granularly' (created on 03 Dec 2016 02:35:02 by Justin James)

This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira

Per app, tenant, or eSpace, or even set on the email itself would be fantastic. This is potentially important for multi-tenant apps that need to send email on behalf of certain clients.

J.Ja



This comment was:
- originally posted on idea 'Allow email settings to be configured more granularly' (created on 03 Dec 2016 by Justin James)
- merged to idea 'Tenant based Email Configuration' on 22 Jan 2019 16:29:44 by Fábio Fantato


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
2016-04-21 20-09-55
J.
 
MVP

include test-email and I'm in :D



This comment was:
- originally posted on idea 'Allow email settings to be configured more granularly' (created on 03 Dec 2016 by Justin James)
- merged to idea 'Tenant based Email Configuration' on 22 Jan 2019 16:29:44 by Fábio Fantato


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira

If you include also  to be able to pass record list to the email as a parameter and let you decide in the email how to display it would be fantastic also.



This comment was:
- originally posted on idea 'Allow email settings to be configured more granularly' (created on 03 Dec 2016 by Justin James)
- merged to idea 'Tenant based Email Configuration' on 22 Jan 2019 16:29:44 by Fábio Fantato


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
Merged this idea with 'Service Center - Email Configuration at tenant level' (created on 01 May 2018 06:23:20 by Pradeep Dubey)

This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira

Presently this feature provides functionality to define email server detail which applies to all the applications and all tenants. If we can have flexibility at service center level to define values tenant wise for "Default Sender Name" and "Default Sender Email", would be great. As sometimes to fulfill customer/application needs we need this. In future this helps users to handle this kind of scenarios from service center itself without tweaking this things at code level.  



This comment was:
- originally posted on idea 'Service Center - Email Configuration at tenant level' (created on 01 May 2018 by Pradeep Dubey)
- merged to idea 'Tenant based Email Configuration' on 22 Jan 2019 16:32:56 by Fábio Fantato


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
2018-05-09 09-20-09
Paulo Costa
Changed the category to
Service Center


This comment was:
- originally posted on idea 'Service Center - Email Configuration at tenant level' (created on 01 May 2018 by Pradeep Dubey)
- merged to idea 'Tenant based Email Configuration' on 22 Jan 2019 16:32:56 by Fábio Fantato


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
Changed the status to
On our RadarOn our radar

Hi Pradeep,


Thank you for your idea. I've renamed the subject to make it more clear.

We think your idea makes sense! So I'm changing it to "our radar".  We’ll keep an eye here if this idea continues to grow and get comments from all of you.


Thanks



This comment was:
- originally posted on idea 'Service Center - Email Configuration at tenant level' (created on 01 May 2018 by Pradeep Dubey)
- merged to idea 'Tenant based Email Configuration' on 22 Jan 2019 16:32:56 by Fábio Fantato


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira

Ok João

Thanks,

Pradeep.



This comment was:
- originally posted on idea 'Service Center - Email Configuration at tenant level' (created on 01 May 2018 by Pradeep Dubey)
- merged to idea 'Tenant based Email Configuration' on 22 Jan 2019 16:32:56 by Fábio Fantato


This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira

Any update on this idea?



This comment was:
- originally posted on idea 'Tenant based Email Configuration' (created on 12 Dec 2014 by Frederico Faria de Oliveira)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:51:08 by Vitor Teixeira
2019-04-07 18-26-39
Vitor Teixeira
Merged this idea with 'Allow to send emails from more than one SMTP server' (created on 09 Jan 2020 16:59:03 by Pedro Carvalho)

The issue...

The OS platform currently only allows to setup one SMTP server per environment. This means that all emails (from all applications) need to be sent via the same SMTP server!

However there are situations where it would be useful to use more than one SMTP server in a factory. 


My story...

I personally came across a situation (but have heard of other similar situations from colleagues) where the customer had a requirement for a particular application to use a specific SMTP server). 

In my case we were asked to use a paid SMTP server service which provides very complete email statistics. However (since it's a paid service) the customer did not want all the factory applications to use it to send emails.

To overcome this we had to create the emails using screens instead of the common "email" widget. Then we had to GET the HTML from the screens, and clean all the scripts and other tags that are added to the screens by the platform. Then in order to send the email we had to use Richmail actions (from RichMail extension) to create the email, authenticate and send the email...

...all this just to send an email with a different SMTP server!


My suggestion...

to implement this idea is to allow multiple SMTP servers to be added on Service Center and to be able to set one as default.

Then to send the email we could configure which SMTP server to use on the SendEmail widget. It could look something like:

We would then be able to select which SMTP server to use, otherwise the default SMTP server would be used.

I hope someone else out there finds this idea useful...



This comment was:
- originally posted on idea 'Allow to send emails from more than one SMTP server' (created on 09 Jan 2020 by Pedro Carvalho)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:52:37 by Vitor Teixeira

Nice Idea Pedro!

We are facing the same issue in our company!



This comment was:
- originally posted on idea 'Allow to send emails from more than one SMTP server' (created on 09 Jan 2020 by Pedro Carvalho)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:52:37 by Vitor Teixeira

I can see this feature being useful too Pedro. 

+1



This comment was:
- originally posted on idea 'Allow to send emails from more than one SMTP server' (created on 09 Jan 2020 by Pedro Carvalho)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:52:37 by Vitor Teixeira

+1, must have.



This comment was:
- originally posted on idea 'Allow to send emails from more than one SMTP server' (created on 09 Jan 2020 by Pedro Carvalho)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:52:37 by Vitor Teixeira

+1, Exactly what I was looking for and thinking of submitting as Idea.



This comment was:
- originally posted on idea 'Allow to send emails from more than one SMTP server' (created on 09 Jan 2020 by Pedro Carvalho)
- merged to idea 'Multiple Email Server configuration support' on 10 Jan 2020 16:52:37 by Vitor Teixeira
2019-04-07 18-26-39
Vitor Teixeira

Hi,

Thank you all for sharing your ideas regarding this topic. Also thank you, Pedro Carvalho, for recently detailing your use case and suggestion for the implementation.

We will be tackling Emails on the context of Reactive Web Apps and our main focus will be feature parity with Traditional Web. Nevertheless, I'm adding this to our radar as a possible improvement for a future version.


Cheers!

Thank's for the feedback Vitor!

Merged this idea with 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 17:39:20 by João Gonçalves)

Currently if you want to use Outsytems OOTB send email actions in your different applications, they will all share the same SMTP configuration set for the environment in Service Center.


Let's say you have 2 different applications with different branding, both with email sending functionalities. If you want to set a different SMTP profile for each one (e.g.: unique sender name, SMTP server...) you actually can't... at least in an easy way as you would expect.


There are some forge components which allow you to create multiple SMTP profiles and map them to your desired espaces, but they essentially use custom send email actions which do not take OS OOTB email screens as arguments (you have to manually pass the raw HTML, do some regex tweaks, and a whole bunch of inline CSS in order to get it properly formatted)


This gets even worse in terms of scalability, imagine you already have an app (let's call it A) running in your environment making use of the default OutSystems send email action, and now you have to develop a new one (B) that needs a different SMTP profile... You have two options:

1. change A to use a custom send email action along with B (extra effort)

2. manage A's SMTP details in service center and B's in the custom component.


neither of both feels like an easy or elegant way to solve a problem that most would assume to be a 5-minute configuration.


It would be great to enhance service center's email section to accommodate multiple SMTP profiles and select which modules should each be mapped to.


Notes:

SMTP Forge Component here addressed: https://www.outsystems.com/forge/component-overview/1226/smtpclient



This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James
Changed the category to
Service Center


This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Good idea!



This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Good Idea!



This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

There are couple of SMTP forge components which allows to set or provide the provision to set the different SMTP configurations each applications.



This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Ah, check. Yes, having this option in Service Center will be much convenient.



This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James
2023-02-10 19-42-59
João Melo
 
MVP

That would add a huge value specially in enterprise grade landscape, with multiple Apps / teams 



This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Good Idea



This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James
Merged this idea with 'Email list per application' (created on 19 Nov 2020 03:21:13 by Lucas Vilela)

This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Hello.

I was thinking about the email list behavior that we can configure right now in service center, to allow emails to be delivered only for a list. It would be nice if we could have that list per application instead of for all environment, what do you think about it?



This comment was:
- originally posted on idea 'Email list per application' (created on 19 Nov 2020 by Lucas Vilela)
- merged to idea 'Configure multiple SMTP Email profiles in Service Center' on 22 Nov 2020 20:00:57 by Justin James


This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Hi Lucas,

I fail to understand to what email list you are referring?

Regards,

Daniel



This comment was:
- originally posted on idea 'Email list per application' (created on 19 Nov 2020 by Lucas Vilela)
- merged to idea 'Configure multiple SMTP Email profiles in Service Center' on 22 Nov 2020 20:00:57 by Justin James


This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Hello Daniël.


I'm referring to the test email list that you can have in the environments, Usually it's used in the dev/test environments.

In service center, you can configure that going to Administration > Email > Redirect Emails To Test List


Regards,


Lucas Vilela



This comment was:
- originally posted on idea 'Email list per application' (created on 19 Nov 2020 by Lucas Vilela)
- merged to idea 'Configure multiple SMTP Email profiles in Service Center' on 22 Nov 2020 20:00:57 by Justin James


This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James

Thanks for the clarifiation.



This comment was:
- originally posted on idea 'Email list per application' (created on 19 Nov 2020 by Lucas Vilela)
- merged to idea 'Configure multiple SMTP Email profiles in Service Center' on 22 Nov 2020 20:00:57 by Justin James


This comment was:
- originally posted on idea 'Configure multiple SMTP Email profiles in Service Center' (created on 27 Apr 2020 by João Gonçalves)
- merged to idea 'Multiple Email Server configuration support' on 22 Nov 2020 20:01:59 by Justin James
Merged this idea with 'Possibility of configuring more than one email provider on the platform' (created on 16 Jul 2021 08:38:51 by Ricardo Pereira)

Hi,

Often, when we develop for more than one existing brand for a client, we need to have more than one email provider configured, and in the Service Center you can only configure one. Many companies have more than one brand and need to have more than one email provider, one for each brand.

I think it was great that we could configure multiple email providers for the platform, thus taking full advantage of the capabilities of pre-built emails and without having to resort to extensions that become much more complicated to manage.


Best regards,

Ricardo Pereira



This comment was:
- originally posted on idea 'Possibility of configuring more than one email provider on the platform' (created on 16 Jul 2021 by Ricardo Pereira)
- merged to idea 'Multiple Email Server configuration support' on 17 Jul 2021 01:03:29 by Justin James
Merged this idea with 'Multiple Email Servers Configurator in one OutSystems Environment' (created on 28 May 2022 09:07:34 by Neha Agrawal)
2023-12-11 08-54-13
Neha Agrawal
Champion

Hi Team,

There should be a way to configure multiple email servers in one OutSystems Environment.

Details:
One OutSystems Environment can have n no. of applications & from each application we can trigger out the emails.
These emails are sent out from different email servers.

Currently, we can configure only one email server in the OutSystems Service Center. We should have a feature to configure multiple Email Servers in one Environment & we can bind the servers to different applications (maybe something similar to User Role Management we have in Lifetime).

This feature could be helpful for many clients who plan to run multiple applications with multiple server configurations from one single OutSystems Environment.

Thoughts?

Regards,

Neha Agrawal


This is already an old idea. Although it will be helpful it will be necessary one way to associate which server one app will use.

check, please

https://www.outsystems.com/ideas/305/multiple-email-server-configuration-support/

Regards



Merged this idea with 'Be able to configure and use multiple SMTP servers (in service center / ODC etc.)' (created on 17 Nov 2022 13:06:31 by Johan den Ouden)

I would like to use multiple SMTP servers for sending our emails for different reasons.

But in service center (later ODC) we can only configure one SMTP server. It would be really nice if we could configure multiple SMTP servers and specify the SMTP server when we call the sendmail actions? Also mark 1 as the default SMTP server to use when no SMTP server is specified.

I have found some forge components but the problem is we can't use the OutSystems email templates, tracking in service center etc. anymore and we only want to specify the SMTP server to use. It would be a pity to implement a complete own email functionality for just specifying and selecting multiple SMTP servers.

I totally agree with this. 

I'll add the possibility to distinguish each SMTP server from different tenants. 

I knew this was already an idea that existed for a while but had to track it down:

https://www.outsystems.com/ideas/305/multiple-email-server-configuration-support/

Merge please.

@Nordin Ahdi  Thanks for your reply. I will merge it.

Nice idea

Merged this idea with 'Support to multiple app specific sender email ' (created on 29 Apr 2024 10:54:57 by Ayush Jain)

I want to raise this to you that we need to add one feature to send emails from multiple email id since every application have different domain mail id which has to be used for sending emails for his transactions currently in outsystems we are restricted to single email which is configured at SMTP level and there is no such way to achieve this using outsystems.

we got this requirement in many of our projects so we developed an extension developed in dot net and then we achieved this functionality enabled.

so i am sure if this functionality comes by default in send email action of outsystems it will be help full to many of the use cases.

thanks and regards,

ayush jain