[Gambas-user] SMTP client doesn't want
Rolf-Werner Eilert
eilert-sprachen at ...221...
Thu Aug 15 13:40:20 CEST 2013
Ok folks,
here's my other thread about gb.net.smtp.
I want to send an e-mail with an attachment. The MTA is my German
Telecom provider t-online, so I use my name as sender and log in.
The guys use STARTTLS as far as I know. When I use TLS, I get an
"authentication failed". When I use SSL, it only says "-> quit" nothing
ever happens.
Do you see anything missing here:
mail.From = "eilert-sprachen at ...221..."
mail.To.Add(feld[1]) 'recipient's e-mail
mail.Subject = "Ihre E-Mail"
mail.Add(Application.Path &/ mdatei) 'message body
mail.Add(Application.Path &/ feld[0]) 'attachment: pdf-file
mail.Host = "securesmtp.t-online.de"
mail.Port = 587
mail.Encrypt = Net.TLS 'also tried Net.SSL
mail.User = "username"
mail.Password = "password"
mail.Debug = True
mail.Send()
Thanks for your help...
Rolf
More information about the User
mailing list