23
 Followers
104
 Likes

Multiple Email Server configuration support

Backend
On our radar
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.




Created on 2 Jul 2010
Comments (42)
Merged this idea with '[ServiceCenter] Support for multiple email server settings' (created on 2012-02-20 02:40:16 by - -)
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

Let's up this one!

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

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

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

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 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
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

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

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