[Gambas-devel] More questions on smtp

Tim Stefano priastefano at ...506...
Mon Sep 25 09:14:11 CEST 2006


> Montelupo Fiorentino, Italy 25 Settembre/September 2006
>
> Thank you very much Mr. Benoit Minisini for your attention,
>
> now I adjust my software with your indication and I arrive to Send the 
> message but the software stop in SEND function:
>
> PUBBLIC SUB ToolButton1_Click()
> DIM scratch_var  as Integer
>
> smtpobj.From = "priastefano at ...506..."
> smtpobj.To.Add("priastefano at ...255...")
> smtpobj.Subject = "Try to send an image"
> smtpobj.Add(File.Load("/home/stefano/NameImage.jpg"), "image/jpeg", 
> "NameImage.jpg")
> smtpobj.Send()
>
> scratch_var += 1
> ......
> END
>
> The program never arrive at    "scratch_var += 1" statement and never 
> arrive the message in my mail box.
>
> At object smtpclient I was assigned Port:25 and Host: out.aliceposta.it 
> like my email account configuration of  kmail.
> With KMail I try to send email and I have success,
> I try to change Host configuration of SmtpClient with "smtp.posta.tim.it" 
> and when I try to SEND message GAMBAS say "Mailserver unknown"...
>
> What's still wrong ? What can I try ?
>
> Thank yuo in advance for your time.
>
> Distinti Saluti/Best Regards
> Pria Stefano
> 





More information about the Devel mailing list