[Gambas-user] SMTP autentication

Wellington de Souza Pinto wspinto at ...1405...
Thu Oct 16 20:09:40 CEST 2008


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

---------------------------------------------------------------
    |||||/  Wellington de Souza Pinto
C o o ]  wspinto at ...1405...
     ^
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
___________________________________________________________________________________
Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem
tarifas muito baratas esperando por você. Aproveite!





More information about the User mailing list