Comprehensive data protection for all workloads
Post Reply
ehz123@
Novice
Posts: 4
Liked: never
Joined: Mar 31, 2020 11:32 am
Full Name: Ehsan
Contact:

unable to connect to smtp server because of invalid credentials

Post by ehz123@ »

Case# 04093792

Hi Guys,

I am using Veeam Backup & Replication Community Edition. I tried to enable email notifications on my veeam but its showing an error "unable to connect to smtp server because of invalid credential" but i am sure i have given the correct credentials. Can anyone help me with this please?
Dima P.
Product Manager
Posts: 14726
Liked: 1706 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by Dima P. » 1 person likes this post

Hello Ehsan,

Are you using local smtp server or some public email provider? Thanks!
ehz123@
Novice
Posts: 4
Liked: never
Joined: Mar 31, 2020 11:32 am
Full Name: Ehsan
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by ehz123@ »

Hello Dima,

I am using public smtp server, I have tried gmail and etisalat smtp servers.
Dima P.
Product Manager
Posts: 14726
Liked: 1706 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by Dima P. » 1 person likes this post

Can you please check if allowing access for less secure apps in the gmail account properties resolves this issue? Thanks!
ehz123@
Novice
Posts: 4
Liked: never
Joined: Mar 31, 2020 11:32 am
Full Name: Ehsan
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by ehz123@ »

tried that also...
Dima P.
Product Manager
Posts: 14726
Liked: 1706 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by Dima P. » 1 person likes this post

Then this issue could be related to connectivity or ports. Try to connect to one of the smtp servers over telnet client via cmd:

telnet your.smtpserver.com portnumber

Ports for smtp are 25, 465 or 587
ehz123@
Novice
Posts: 4
Liked: never
Joined: Mar 31, 2020 11:32 am
Full Name: Ehsan
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by ehz123@ »

yup changed the port number to 587..its working.. Thanks alot
martim
Lurker
Posts: 1
Liked: never
Joined: Aug 31, 2020 2:47 pm
Full Name: Marcel
Contact:

[MERGED] email notification error "unable to connect to smtp server because of invalid credential"

Post by martim »

Case #04363157

Hi Guys,

I am using Veeam Backup & Replication Community Edition. I tried to enable email notifications on my veeam but its showing an error "unable to connect to smtp server because of invalid credential" but i am sure i have given the correct credentials. Can anyone help me with this please?

I am using smtp.gmail.com

I have set the less secure apps in google. Which works fine.

I have tried to telnet to smtp.gmail.com with ports 25, 465 or 587 which seems all good.

I am using the setting:
Connect using SSL
Port: 465
Reguires auth. (username and password are checked and good)
if I want to use 587 (I need to have tls which I cannot check?)

Thanks for helping!
Natalia Lupacheva
Veteran
Posts: 1143
Liked: 302 times
Joined: Apr 27, 2020 12:46 pm
Full Name: Natalia Lupacheva
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by Natalia Lupacheva »

Hi Marcel,

I've moved your post to the existing thread.
Yes, you can use port 587.
Also, there is a configuration description which might help.

Thanks!
Dima P.
Product Manager
Posts: 14726
Liked: 1706 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by Dima P. »

Marcel,

Additionally, please make sure that the user name is set to your email address. Cheers!
radoma
Novice
Posts: 3
Liked: 1 time
Joined: Aug 29, 2021 7:30 am
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by radoma »

Hello,

I like to bring this topic up again, as I see this behaviour for a while
after updating to 4.0.1.2169 and then to 5.0.0.4301.

The credentials and ports are correct and the mails were sent correctly.

After the update I am able to send the test mail, but sending the report
after the job is denied with "unable to connect to smtp server because of
invalid credentials".

Is there an idea for that behaviour ?

Thanks, Greetings Marco.
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by Gostev »

There are no known issues with this functionality, so it must be your email settings or the SMTP server configuration. Feel free to open a support case to let our engineers troubleshoot. Thanks!
radoma
Novice
Posts: 3
Liked: 1 time
Joined: Aug 29, 2021 7:30 am
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by radoma »

Hello Gostev,

Thanks for your reply. As mentioned before the testmail is sent correctly, therefore the credentials must be correct.
But the mail after the job is finished is not sent. I will open a ticket and see what happens, regards Marco.
Dima P.
Product Manager
Posts: 14726
Liked: 1706 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by Dima P. » 1 person likes this post

Marco,

The issue might be related to the disabling TLS 1.0/1.1 in latest version of Veeam Agent for Windows (although, all email notifications should be affected including the test message). You can refer KB article in order to test the workaround. Please do not forget to share the case ID with us. Thank you!
radoma
Novice
Posts: 3
Liked: 1 time
Joined: Aug 29, 2021 7:30 am
Contact:

Re: unable to connect to smtp server because of invalid credentials

Post by radoma » 1 person likes this post

Hi Dima,

Thanks, that was the final hint. Adding the registry-entries fixed it for me.
Reports are sent again.

Regards, Marco.
Post Reply

Who is online

Users browsing this forum: No registered users and 52 guests