I guess you were talking about :
  from gluon.tools import *

Yannick P.

On Apr 23, 9:11 pm, Yannick <[email protected]> wrote:
> Hello Massimo,
> I follow this thread with lot of interest and There is no such
> utils.py in the "contrib" package..
> There is Utils in the "gluon" package instead but no such "Mail" class
> inside it...
>
> I'm currently using the latest version of Web2py (1.61.4)
> ????
>
> Thanks,
> Yannick P.
>
> On Mar 20, 7:20 pm, mdipierro <[email protected]> wrote:
>
> > python already provides smtplib. web2py has an interface to it.
>
> >     from gluon.contrib.utils import
> > *
> >     mail=Mail
> > ()
> >     mail.settings.server='smtp.gmail.com:
> > 587'
>
> > mail.sender='[email protected]'
> >     mail.login=None or
> > 'username:password'
> >     mail.send(to=
> > ['[email protected]'],subject='None',message='None')
>
> > You can put anywhere you like.
>
> > On Mar 20, 1:07 pm, Jason Brower <[email protected]> wrote:
>
> > > I think it would be awsome to come up with a email system.  So you could
> > > setup an internal or external email system.  Sending messages from user
> > > to user in the same system and so forth.
> > > I think it could provide a lot of functionality for intranet systems
> > > like schools and businesses.  And my personal interest is to have this
> > > for social networking systems.
> > > Any ideas and thoughts on it?
> > > Regards,
> > > Jason Brower
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to