Hello, Once, I came across an #575 smtp error, and it was due to the server requiring a secure smtp connection to the port 587 instead to a plain-text connection to the port 25... So, are you sure that you can use the data provided to gambas gb.net.smtp component to properly send messages from an email client? Regards, Toni
> Hi. > > I'm trying to send an email from my computer, using the gb.net.smtp > component. > > The code that uses it: > > ' Gambas module file > > PUBLIC SUB Main() > DIM mail AS NEW SmtpClient > > mail.To.Add("u...@recipient.net") > mail.Subject = "Test Mail" > mail.From = "u...@sender.com" > mail.Host = "mail.servidor.com" > mail.Port = 25 > mail.Add("hello,world", "text/plain") > mail.Send() > END > > When executed, this throws the following error: > > "Server won't accept sender while starting dialog(smtp error code #575)" > > Any ideas? > > Regards > > > [OperatingSystem] > OperatingSystem=Linux > KernelRelease=2.6.28-14-generic > DistributionVendor=ubuntu > DistributionRelease="Ubuntu 9.04" > > [System] > CPUArchitecture=i686 > TotalRam=1026628 kB > > [Gambas] > Gambas1=Not Installed > Gambas2=2.20.2 > Gambas2Path=/usr/local/bin/gbx2 > Gambas3=Not Installed > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user