fail to send out email by kaa admin - kaa

I clone kaa source code from git, and succeed built and run it on my ubuntu 14.04.
and then I also succeed to create kaa admin.
and then I set my outgoing email settings as this
SMTP Protocol: smtps
SMTP Host: smtp.gmail.com
SMTP Port: 465
Username: myemailaddress#gmail.com
Password: mypassword
and then I went to create a tenant, then add a user:
Username: admin
Email: myanotheremail#xxx.com
Account role: Tenane Administrator
but I fail to sent out the email to the tenant user from kaa server (or I did not receive the mail from kaa admin)
I also change the log level to TRACE and restart service, but there seems no error or trace information about this scenario in it.
would someone please help guide me what to do to make it work?
Many thanks
Vincent

Your outgoing email settings looks correct.
Looks like for Google accounts, you need to allow less secure apps to access accounts. Follow the official guide to do this.

Related

Wordpress Sendgrid Email wasn't sent

I was trying to setup WordPress to send email using Sendgrid. I have created free sendgrid account, senders identity and API key following this document
But when I try to send test email under SendGrid Test - Send a test email with these settings
I see Email wasn't sent. at the top
What I am missing here ?
I had the same error, however because their official plugin is only checking wp_mail is true (source). I decided it wasn't worth digging into their plugin as its unmaintained, so I setup an SMTP relay API key and used Easy WP SMTP plugin instead.
Create SMTP relay API on send grid docs.
Configure Easy WP SMTP settings (it's platform agnostic, so you'll need to make sure you have the correct settings. Mine were: server: smtp.sendgrid.net // SMTP port: 465 // SMTP Auth: yes // Username: apikey // Password: Generated API key.
This is a workaround due to 3 things really: Time, unmaintained plugin and lack of verbose/useful error reporting from said plugin. Mileage may vary with this "solution".
Edit: Duh, the actual way I got this error was because I had the SMTP server address copy pasta incorrect. Ensure the smtp server is copy pasta'd correctly.

Error 554 when using Amazon SES as Firebase custom SMTP mail server

i'm migrating our current custom SMTP mail server for Firebase Authentication mails to Amazon SES. I generated new SMTP credentials and updated the Firebase SMTP settings:
But when i try to send a password reset mail, i continuously receive this error in the sender's inbox: 554 Transaction failed: Missing final '#domain'.
The same SES SMTP credentials work fine (= emails being sent), when i use them (base64 encoded) in a local CLI script (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp-client-command-line.html) or on https://www.smtper.net/.
Additional information:
inspired by the error message, i tried to add my maildomain to the SMTP user's name (ABCDEFGHIJKLMNO#mydomain.net) but received the error 535 Authentication Credentials Invalid
i did not use the account's credentials (as mentioned in most topics), but the SMTP user's credentials
as mentioned in other related topics, i also tried to URL encode the password with no avail (it contains a /). Same for base64 encoding the password
the custom domain and the sender's address are verified in SES
i have configured SPF and DKIM for the custom mail domain (also verified)
If i missed any further information, please let me know, thanks in advance.

"No Such User Here" Sending from Wordpress to G Suite Email

I dont know what the real issue is here but hopefully someone can help.
I am sending emails from a Wordpress site using the plugin Easy WP SMTP sending through a cpanel email account created. Most of these emails are getting delivered.
I am having one issue sending to our own gsuite email using our own domain. Other gmail addresses(and i would assume gsuite emails) are working fine, it is only our domain that is having issues.
Eg: Woocommerece triggers order emails to both the customer and our gsuite emails. The customers email is delivered, but the mail to our gsuite email is not. Looking at the cPanel > Email > Track Delivery the details of the email are:
Recipient: film#fightthenewdrug.org
Delivery User: fightthenewdrug
Delivery Domain: fightthenewdrug.org
Delivered To:
Router: virtual_aliases
Transport: fail
Out Time: Nov 15, 2018, 10:04:10 AM
ID: 1gNL4Y-0003zr-E5
Delivery Host:
Delivery IP:
Size: 11.87 KB
Result: No Such User Here
And looking at the successful emails:
Recipient: th....#gmail.com
Delivery User: -remote-
Delivery Domain:
Delivered To: th....#gmail.com
Router: dkim_lookuphost
Transport: dkim_remote_smtp
Out Time: Nov 15, 2018, 10:03:10 AM
ID: 1gNL3Z-0003zN-TX
Delivery Host: gmail-smtp-in.l.google.com
Delivery IP: 64.233.160.26
Size: 11.89 KB
The issue is in sending from the site brainheartworld.org to the emails with the domain fightthenewdrug.org. Initially I was using a different SMTP plugin sent form our gmail address #fightthenewdrug.org but we were having quota/limit issues using gsuite gmail.
And just to clarify, I am spelling emails correctly. And it appears to be all emails #fightthenewdrug.org only.
Searching for Router: virtual_aliases the lead me to this question here and applying that to a cpanel lead me to this article here which got me figured out.
Because both the sending domain and the receiving domain are hosted on the same VPS, it was trying to bypass the mx lookup(maybe not the correct terminology but the basic idea) and deliver to another domain on the same server locally, but the email was managed by gmail so there was No Such User Here for that domain on the local cpanel account.
Under cPanel > Email > Email Routing, if your mail is handled by a remote service, select Remote Mail Exchanger to make sure other accounts on the same server look at the mx records for where to deliver it.
Saved my life. However, i used "Automatically detect configuration" which also seem to work!
SO: under cPanel > Email > Email Routing, selecting Automatically detect configuration also works!
Thumbs up!

How do I connect a SMTP with Firebase?

Instead of using the built-in email system in Firebase, I wanted to use a SMTP called SMTP2Go but was wondering how to connect it and if need to buy my own email domain first or not? What requirements are needed to connect a SMTP to Firebase?
I assume you're trying to set up a custom SMTP server for sending (verification, password reset, email change) emails from Firebase Authentication. You can set a custom SMTP server in the Firebase Authentication console.
You don't need a custom domain for this. All you need to know is the SMTP host and port of SMTP2GO (something like mail.smtp2go.com and 587), and your account details from them (the username/password you use to log into smtp2go with).
The Sender address field is just what recipients see in the "From" field of the email, and also where any replies they send will be going. It can be whatever address you want to use to support your users.
If you would like to use the Gmail account as SMTP service for Firebase following steps might help you with that. I have shared a medium post about it if you would like to have more details.
Enable the 2 step verification for the G Suite account.
Create an app password for the account.
Allow users to manage their access to less secure apps
Unlock the captcha
The G-Suite account is ready to be used as an SMTP service for firebase.
Check this link please for more details.

Can't create new tenant admin in kaa 0.10.0

I am trying the new version of Kaa 0.10.0 and I am trying to create a new admin user to the tenant I have created, so I set the outgoing email settings and then go to add tenant admin user but I never got email to the specified email although I use the exact same configurations in kaa 0.9.0 and it's working fine?? is this a bug?
Try below configurations. If this doesn't work, check System LOG and post error message.
SMTP Protocol: SMTP
SMTP Host:smtp.gmail.com
SMTP Port: 587
TLS : (check)
Username: (your gmail username)
Password: (your gmail password)
Here is the link of gmail smtp Gmail SMTP Settings

Resources