Page 1 of 1

SMTP authentication

Posted: 2020-05-04 08:26
by PeterChan
Hi,
Is there a way to enable SMTP authentication in hMailserver?

Re: SMTP authentication

Posted: 2020-05-04 09:19
by jimimaseye
Have you ever considered reading the documentation?

https://www.hmailserver.com/documentati ... ce_iprange

[Entered by mobile. Excuse my spelling.]

Re: SMTP authentication

Posted: 2020-05-04 10:27
by PeterChan
Hi,
Sorry, due to error encountered below
535 Authentication failed. Restarting authentication process
with hMailserver, what needs to be adjusted to the server/user account? I am using correctly the user account with the password.

Re: SMTP authentication

Posted: 2020-05-04 10:54
by RvdH
PeterChan wrote:
2020-05-04 10:27
535 Authentication failed. Restarting authentication process
I am using correctly the user account with the password.
Apparently you do not :shock:

Re: SMTP authentication

Posted: 2020-05-05 00:21
by mattg
Use your email address as the username

Username in the form of 'peter@example.com' and NOT just 'peter'

Re: SMTP authentication

Posted: 2020-05-05 06:24
by PeterChan
Hi,
Yes, I used full account details like
oServer.User = "sender@???.com";
oServer.Password = "???";
oServer.ConnectType = SmtpConnectType.ConnectSSLAuto;
I used EASendMail package for this (in .Net application) but support of EASendMail said that current issue is "account authentication problem" and they could not help further.

Re: SMTP authentication

Posted: 2020-05-05 09:28
by mattg
Try connecting with SSL first and see if that works

I've found that .NET SSL settings can often not be what you expect

I don't use EASendMail package though but I have used .NET's built in mail classes

Re: SMTP authentication

Posted: 2020-05-06 08:33
by PeterChan
Hi,
Thanks. Can you share it regarding .NET's built in mail classes?

Re: SMTP authentication

Posted: 2020-05-06 11:04
by RvdH