feature request:

0 views
Skip to first unread message

Jason Brower

unread,
Mar 20, 2009, 6:07:47 PM3/20/09
to web...@googlegroups.com
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

mdipierro

unread,
Mar 20, 2009, 11:20:30 PM3/20/09
to web2py Web Framework
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='y...@somewhere.com'
mail.login=None or
'username:password'
mail.send(to=
['y...@whatever.com'],subject='None',message='None')

You can put anywhere you like.

Yannick

unread,
Apr 24, 2009, 1:11:22 AM4/24/09
to web2py Web Framework
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 <mdipie...@cs.depaul.edu> 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='...@somewhere.com'
>     mail.login=None or
> 'username:password'
>     mail.send(to=
> ['...@whatever.com'],subject='None',message='None')

Yannick

unread,
Apr 24, 2009, 1:23:51 AM4/24/09
to web2py Web Framework
I guess you were talking about :
from gluon.tools import *

Yannick P.
Reply all
Reply to author
Forward
0 new messages