Aggiungo qui un intervento scritto nella M.L.I. riguardo alll'invio di e-mail con il componente gb.net.smtp:
" Well... it simply didn't send the mails, or more specific: the mails
never arrived anywhere, and I couldn't make out any error messages
anywhere. The only message I got was the ending "-> quit". During my
holidays, it might have been caused by a bad internet connection, but it
wouldn't run here either.
Maybe you remember, you told me to look in the "standard errors", but I
didn't find anything at /var/log...
Then this weekend I found a discussion from last year or so you had had
with someone on the SMTP topic, and it turned out you could not find a
way to complete programming. In the documentation it says "not
everything is supported yet". So I looked for another way of
implementing it.
Here is my test project which was intended to be included into the
bigger main project once it had been running. My personal data have been
changed:
Public Sub Main()
Dim t$ As String
Dim email As New SmtpClient
t$ = File.Load(Application.Path &/ "test.pdf")
With email
.Add("This is the mail text")
.Add(t$, mime.Binary, "test.pdf")
.To.Add("eilert-sprachen@t-online.de")
.From = "myname@web.de"
.Subject = "Ein Test"
.Encrypt = Net.SSL
.Port = 587
.Host = "smtp.web.de"
.User = "username"
.Password = "password"
.Debug = True
End With
Try email.Send
If Error Then
Print Error.Text
Print Error.Where
Endif
End
I tried this with my yahoo account and t-online account (= German
Telecom), sending mails forth and back, but to no avail.
When I tried sendEmail giving it the same data, the mail was sent at once.
Rolf "
" A little food for thought....
I am not sure about Yahoo or Google over seas but here in the US Google for
sure, and I believe Yahoo both will not accept mail from a home server. I
used to run my own mail servers and still do but with the limitation that I
cannot send mail to Google without having a paid Google account for each
domain. Google and many free mail suppliers did this to combat spam. I have
not tried in a year or so to send from any of my domains that do not have a
paid google account attached. So if they reversed this, I am unaware.
Randall Morgan "
" Yes, not from a server (MTA), but from an e-mail client like
Thunderbird, an MUA. So I tried to use yahoo and the others as MTA.
Eilert "