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
Related
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.
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.
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.
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.
The question: Is it possible to configure multiple SMTP servers or update the SMTP object server information at runtime?
Description of problem: The site I'm working on has a few pages which send emails. Our site is using Gmail so even though it's a custom domain our email is sent out though Gmail SMTP servers.
Some emails come from the system and some emails come from users in certain groups. I have an SMTP server configured with the admin email for the system e.g. admin#mysite.com This works fine and when I get the email it shows from admin#mysite.com
One of our user groups let's call it "groupA" has an email configured on our domain i.e. groupA#mysite.com When I send the email and specify a from address for the MailMessage object as groupA#mysite.com it still shows up in my outlook as coming from admin#mysite.com I did a little further testing and if I specify both the from address and the ReplyTo as groupA#mysite.com it will show as From=admin#mysite.com but when I choose reply in outlook it shows groupA#mysite.com My best guess is that Gmail is overwriting the From address with the SMTP user to prevent email spoofing.
I found this: http://www.systemnetmail.com/faq/4.1.aspx but it won't work for me since group A, B, and C all need to send emails from the same page.
To my knowledge, it's impossible to fake the "from" address when using gmail.
Even if you use apps premiere, and set up address aliases, it still says "sent on behalf of ".
system.net.mail configuration in web.config only supports one config
you can easily create your own custom config and configure email server settings at runtime, like so:
SmtpClient smtp = new SmtpClient("smtp.gmail.com");
smtp.Port = 465;
smtp.EnableSsl = true;
smtp.UseDefaultCredentials = false;
smtp.UserCredentials = new System.Net.NetworkCredential("yourusername", "yourpassword");
smtp.Send(mail);
you can obviously store yourusername and yourpassword in app settings