[Gambas-user] Send mail using SMTP

Pablo Terradillos tehsis at ...626...
Tue Dec 26 23:55:46 CET 2006


Here you have:

SmtpClient1.Host = "mail.gigared.com"
SmtpClient1.From = remitente
SmtpClient1.To.Add("tehsis at ...626...")
SmtpClient1.Add("hola", "text/plain;charset=utf-8") 'CONFLICTO
SmtpClient1.Send()

Let me know if you want the entire program...

On 12/26/06, Benoit Minisini <gambas at ...1...> wrote:
>
> On Tuesday 26 December 2006 19:23, Pablo Terradillos wrote:
> > thanks, but, That doesn't works... i get the same error...
> >
> > Anyway, i found this in google:
> > http://www.nabble.com/Release-of-gambas-1.9.26-t1211000.html
> >
> > Using the example...
> >
> > smtpclient1.Host = "someserver.com"
> > smtpclient1.From =
> > "tehsis<
> http://www.nabble.com/user/SendEmail.jtp?type=post&post=3200361&i=0
> >>"
> >
> > smtpclient1.To.Add("someone at ...1624...<
> http://www.nabble.com/user/SendEmail.jtp?t
> >ype=post&post=3200361&i=1>")
> >
> > smtpclient1.<
> http://www.nabble.com/user/SendEmail.jtp?type=post&post=320036
> >1&i=2>.Add("Hello", "text/plain;charset=utf-8")
> > smtpclient1.send()
> >
> > But i get an error #11... at the line
> > "smtpclient1.<
> http://www.nabble.com/user/SendEmail.jtp?type=post&post=32003
> >61&i=2>.Add("Hello", "text/plain;charset=utf-8") "
> >
> > Thanks you!
> >
>
> Please can you send me the code that raises the Signal #11?
>
> --
> Benoit Minisini
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Pablo E. Terradillos - Tehsis
http://tehsis.blogspot.com
http://softehsis.blogspot.com



More information about the User mailing list