[Gambas-user] SMTP values - huh?

Benoît Minisini g4mba5 at gmail.com
Wed Nov 22 23:12:59 CET 2017

Le 22/11/2017 à 23:07, mikeB a écrit :
> eGreetings Gambas Group,
> When using the "gb.net.smtp" component to send email =
> there is a value ".Authentication" - it is defined as integer?
> huh? After hours of searching I have not been able to find what
> integer to used to dictate what purpose.
> (ie have used .Authentication = 0, .Authentication = 1,
> .Authentication = 2, .Authentication = 3, no .Authentication statement 
> at all included...).
> Nothing changes anything - at lease with my host email server. All
> emails are transferred with no error. Anyone know what "Authentication"
> values mean or do I even need to worry about this (but I've seen
> some email clients that do require "Authentication" so when trying to
> share the Gambas source code - I need to give the end user all server 
> options needed.
> Thanks a lot or any/ all feedback and greatly appreciate your time,
> mikeB

Sorry, the property is not documented in the wiki.

You must use one of the following constants:
- StmpClient.Automatic
- SmtpClient.Login
- SmtpClient.Plain
- SmtpClient.CramMD5


Benoît Minisini

More information about the User mailing list