[Gambas-user] SMTP autentication

Benoit Minisini gambas at ...1...
Fri Oct 17 08:12:14 CEST 2008


On jeudi 16 octobre 2008, Wellington de Souza Pinto wrote:
> Hi!!!
> How to send email via smtp when the email server smtp use TSL
> autentication. Above my rotine in gb2.8. Not send, freeze.
>
> Any ideia????
>
> Reguards,
>
>
> PUBLIC SUB btMigra_Click()
>     DIM hMsg AS NEW SmtpClient
>
>     hMsg.To.Add("xxxxxxxx at ...172...")
>     hMsg.Subject = "ERRO TESTE"
>     hMsg.Add("e-mail body...")
>     hMsg.From = "yyyyyyy at ...1405..."
>     hMsg.Host = "smtp.ig.com.br"
>     hMsg.Port = 465
>     hMsg.Alternative = FALSE
>
>     hMsg.Send()
>
> END
>

I'm afraid that SMTP component has no support for authentication...

-- 
Benoit Minisini




More information about the User mailing list