-
Notifications
You must be signed in to change notification settings - Fork 3
Support for multiple sender emails #409
Comments
I have started to move the |
Thank you. Also, I want to share you how I was imagining the usage of that part: At the beginning of your file (for example MailServ.js) of email configuration put the following:
Once you have configured the email configuration, you can send emails as follow:
This will be great on Meteor 2 :) . I don't know if this can be possible or is difficult to implement it, but I think that is a simple way to use it. References: On the other hand, I found out how to do it with G-Suite (gmail enterprise service). I had to configure some "aliases" for the email sender. These "aliases" are emails used for departments (sales, support, marketing, etc) in a company. So, I used a sender email as master (this is configured in the MAIL_URL environment variable) and for each Email.send({from}) I used the aliases and it worked!!!. However, I don't know if this is possible for other email providers (such as mailgun, microsoft outlook, etc). so, I still see it convenient to implement that feature for |
@diavrank I will consider this for the next major version of the |
Before opening a new feature request, please note:
The problem:
Currently, if you want to send emails from a meteor app you can do it only with a sender email, which is configured in the MAIL_URL environment variable. So, I think if you have a small app that is enough but if you are going to build enterprise applications, it is very common to send emails from different senders such as [email protected], [email protected], [email protected], etc. So, yo can't do that with the package of Email Meteor.
Suggested solution:
I was researching and I found out that you have to use third dependencies such as nodemailer or ostrio:mailer, but I think that this feature should be in Email Meteor because I noticed that this package uses nodemailer, so, I think it shouldn't be a lot of work to take that feature of nodemailer into the Email package.
The text was updated successfully, but these errors were encountered: