[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-29 Thread Ron Chatterjee
Thank you Michael. Great tips! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-28 Thread Michael Beller
I haven't used yagmail, I only looked quickly but I didn't see an advantage of yagmail over the web2py mail functions. The bootply layout below looks great - I don't see any reason that wouldn't work. Do you want to receive email into the app? I didn't see how yagmail supports inboud email, t

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-28 Thread Ron Chatterjee
Have anyone used yagmail? http://kootenpv.github.io/2016-04-24-yagmail On Friday, April 22, 2016 at 2:34:54 AM UTC-4, Mirek Zvolský wrote: > > Not sure if I properly understand your question. > But.. > > I use this in starting web in such easy way: > - Virtual server Debian, no SMTP/POP3 instal

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread Mirek Zvolský
Not sure if I properly understand your question. But.. I use this in starting web in such easy way: - Virtual server Debian, no SMTP/POP3 installed at all, - web2py app sends what is necessary through SparkPost, - all incomming mails for the domain I have redirected in hosting admin settings (at

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread Ron Chatterjee
Thank Michael. I feel special! On Thursday, April 21, 2016 at 2:16:15 PM UTC-4, Michael Beller wrote: > > The starter app has a 'message.py' controller that has functions for > creating, receiving, and replying to messages (in addition to listing, > viewing). > > The starter app code uses mailg

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread Michael Beller
The starter app has a 'message.py' controller that has functions for creating, receiving, and replying to messages (in addition to listing, viewing). The starter app code uses mailgun but it's very similar to sendgrid. You need to setup a webhook in your sendgrid or mailgun account to post the

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread billmackalister
Thank you guys. Michel, message.set_from('myweb2pyapp.com') If someone response to the email, how do I retrieve it? I need to log into my sandgrid account I am guessing. Not sure why sessage.set_form is my app name.com On Thursday, April 21, 2016 at 2:00:00 PM UTC-4, Michael Beller wrote:

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread Michael Beller
Hi Ron, I'm implementing an 'outlook' like interface for some messaging at the moment which includes two way messages with attachments. The early parts are incorporated in my scaffold app at https://mjbeller.pythonanywhere.com/starter The 'outlook' like interface that you can use is included

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread Michael Beller
You can use the sendgrid smtp server or their api. https://sendgrid.com/blog/which-protocol-should-i-use-to-send-email-smtp-or-rest/ Here is my logic for using their api (I also use mailgun with I like also): def send_email_via_sendgrid(email_to, email_subject, email_body): # https://github.c

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread Mirek Zvolský
This is just different interface (different parameters) for SMTP server and for Sparkpost service. Of course, you need use the code from documentation of sparkpost module (instead of code from welcome application). Sparkpost service uses API key tu identify you as its user. To send mails without

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-21 Thread billmackalister
Is SparkPost is any different than to fastmail or using gmail as shown in web2py book? In otherwords, using SpartPost, we don't need to do mail.settings just an API key? How about the return email address? On Saturday, April 16, 2016 at 12:51:37 AM UTC-4, Massimo Di Pierro wrote: > > I use spa

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-15 Thread Massimo Di Pierro
I use sparkpost too and I am happy with it. On Friday, 15 April 2016 11:41:20 UTC-5, Mirek Zvolský wrote: > > Why sendgrid? > I have just implemented sparkpost (rcommended from mandrill, which > terminates their free services). > 10 mails/month for free, and we have sparkpost package in pyp

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-15 Thread Mirek Zvolský
Why sendgrid? I have just implemented sparkpost (rcommended from mandrill, which terminates their free services). 10 mails/month for free, and we have sparkpost package in pypi. Here my notes (use google translate): http://wikilinuxdevel.alwaysdata.net/plugin_wiki/page/sparkpost Dne střed

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-13 Thread Krishna Bavandlapally
Thank you Leonel Câmara. It worked. mail.settings.server = 'smtp.sendgrid.net:587' mail.settings.sender = xxx...@mail.com mail.settings.login = 'sendgrid_username:sendgrid_password' mail.settings.tls = True On Wednesday, 13 April 2016 14:29:16 UTC+5:30, Krishna Bavandlapally wrote: > > How to

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-13 Thread Ron Chatterjee
On that note. Leonel, how do we create inbox using web2py that looks similar to outlook? So, when someone write a blog post and other replies or for chat application to say, we can use that outlook looking interface to present the data. Can someone reply to the mail we send with u...@myweb2pyap

[web2py] Re: How to integrate SendGrid in Web2py ?

2016-04-13 Thread Leonel Câmara
If you're asking this, I'm just going to tell you the most obvious way. Just use their SMTP server. I've never used sendgrid with web2py but the config would be something like this: mail.settings.server = 'smtp.sendgrid.net:587' mail.settings.login = 'sendgrid_username:sengrid_password' mail.set