RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 890 forks source link

How do I use an external SMTP server? #1617

Open ThienNTran73 opened 6 years ago

ThienNTran73 commented 6 years ago

Hi, I am trying to use Sendinblue (https://www.sendinblue.com/) as my external SMTP. I tried adding the SMTP when I added the domain and it worked just fine. However, I cannot send any emails as it keeps saying "Authenciation failed."

I assume this is because I have not put my login details (account, password) for the SMTP server in yet. However, I cannot seem to find anywhere that I can put them in.

I hope someone could help me with this. Thank you

ervee commented 6 years ago

Hi,

If you must use authentication for your SMTP (you probably do because it is an external SMTP Service) then you check the box "Use authentication" in the SMTP Domain config. When you do, the authentication will be done with the user login credentials.

So how do you need to authenticate at the SMTP side?

Ralf.

ThienNTran73 commented 6 years ago

Thank you for your reply, but where exactly do I put in my credential? I need a place to put in my email + password (for the SMTP server) and I cannot seem to find a place to put them in

ThienNTran73 commented 6 years ago

I have found a way to do it. All I need is to install the SMTP plugin.

ervee commented 6 years ago

This is just the email address and password you use to login to RainLoop. RainLoop will cache them and use it to authenticate to the SMTP services. If it does not work, please enable logging in application.ini, try one more time and then collect the logs and post them here if you don't see the problem already.

ervee commented 6 years ago

Okay, cross-posting :) glad you found a way. If I'm correct that plugin will allow you to use SMTP credentials for all (or a subset of) users. Good if you use an SMTP service which does not support user credentials.

The downside (or upside, just how you look at it) is that you won't be able to log who sends what at the SMTP service.

ThienNTran73 commented 6 years ago

Thank you for your help ;) I have a new issue tho, I have made a new post. Would be awesome if you could help me with it too :D

djdill commented 6 years ago

Hey @ThienNTran73 make sure you close your issue if it's resolved -> you can open this ticket and click the close button

alimovz commented 6 years ago

The problem arises when you use an SMTP server that uses different login credentials from the IMAP server. In that case, rainloop needs an interface to input SMTP login and password. There is no way to do that. ThienNTran73 claims to have found a solution by "I have found a way to do it. All I need is to install the SMTP plugin." Alas, he decided to not explain how he did that.

So does anybody know how to input SMTP login and pass?

arenddeboer commented 4 years ago

For anyone wondering how to do this:

done

folliejester commented 1 year ago

For anyone wondering how to do this:

* Go to "https://your.rainloop.domain.tld/?admin#/plugins"

* Install and enable Plugin "override-smtp-credentials"

* Enter SMTP credentials by clicking "override-smtp-credentials"

* Enter the list of domains / users this smtp override should be used for ("Override users" setting)

done

followed the steps and this error pops up image i use elasticemail as smtp and gmail for imap