Re: [web2py] Re: Updated Version of web2py and sending emails stopped working
Can you show us your code (omit your credential)... You mention you use Office 365, they might have made some change you may want to have a look in the account config if SMTP has change. Or you could also try ot use the SMTP of the FAI with a no-reply email... Richard On Thu, Apr 26, 2018 at 10:09 PM, James O' Driscoll < james.odrisc...@gmail.com> wrote: > I am not using AWS, just standard methods IMAP/SMTP. > > On Wed, 25 Apr 2018 at 7:36 am, Massimo Di Pierro < > massimo.dipie...@gmail.com> wrote: > >> Notice that web2py in trunk supports sending emails from AWS+SNS >> >> just do >> >> mail.settings.server='aws' >> >> the sender email must be authorized in the SNS config >> >> >> >> On Wednesday, 4 April 2018 20:17:20 UTC-5, Dave S wrote: >>> >>> >>> >>> On Wednesday, April 4, 2018 at 6:13:06 PM UTC-7, Dave S wrote: On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll > wrote: >> >> Any insights?? Surely this is not preferable when people who have >> clients and have to update web2py get no support. > > > I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very > big jump, perhaps, but it went okay. > > Perhaps you can do a -M yourapp -S and try the commands by hand, and > see if you get additional error messages. > > Is this code in a controller or a module? Is it run during a normal > request, or from the scheduler? > > Also, are you connecting to a third-party mail service such as Google or SparkPost? >>> >>> [I don't; I have an AWS Linux machine with a local sendmail, which may >>> color my answers] >>> >>> And see Massimo's comments from last June: >>> https://groups.google.com/d/msg/web2py/9kQU1LVbHMI/kXwwX-aMCQAJ> >>> >>> /dps >>> >>> >> -- >> 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 a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/ >> topic/web2py/Qf_LhJAsT7c/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Updated Version of web2py and sending emails stopped working
I am not using AWS, just standard methods IMAP/SMTP. On Wed, 25 Apr 2018 at 7:36 am, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Notice that web2py in trunk supports sending emails from AWS+SNS > > just do > > mail.settings.server='aws' > > the sender email must be authorized in the SNS config > > > > On Wednesday, 4 April 2018 20:17:20 UTC-5, Dave S wrote: >> >> >> >> On Wednesday, April 4, 2018 at 6:13:06 PM UTC-7, Dave S wrote: >>> >>> >>> >>> On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: > > Any insights?? Surely this is not preferable when people who have > clients and have to update web2py get no support. I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very big jump, perhaps, but it went okay. Perhaps you can do a -M yourapp -S and try the commands by hand, and see if you get additional error messages. Is this code in a controller or a module? Is it run during a normal request, or from the scheduler? >>> Also, are you connecting to a third-party mail service such as Google or >>> SparkPost? >>> >> >> [I don't; I have an AWS Linux machine with a local sendmail, which may >> color my answers] >> >> And see Massimo's comments from last June: >> https://groups.google.com/d/msg/web2py/9kQU1LVbHMI/kXwwX-aMCQAJ> >> >> /dps >> >> > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/Qf_LhJAsT7c/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Updated Version of web2py and sending emails stopped working
Notice that web2py in trunk supports sending emails from AWS+SNS just do mail.settings.server='aws' the sender email must be authorized in the SNS config On Wednesday, 4 April 2018 20:17:20 UTC-5, Dave S wrote: > > > > On Wednesday, April 4, 2018 at 6:13:06 PM UTC-7, Dave S wrote: >> >> >> >> On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: >>> >>> >>> >>> On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: Any insights?? Surely this is not preferable when people who have clients and have to update web2py get no support. >>> >>> >>> I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very big >>> jump, perhaps, but it went okay. >>> >>> Perhaps you can do a -M yourapp -S and try the commands by hand, and >>> see if you get additional error messages. >>> >>> Is this code in a controller or a module? Is it run during a normal >>> request, or from the scheduler? >>> >>> >> Also, are you connecting to a third-party mail service such as Google or >> SparkPost? >> > > [I don't; I have an AWS Linux machine with a local sendmail, which may > color my answers] > > And see Massimo's comments from last June: > https://groups.google.com/d/msg/web2py/9kQU1LVbHMI/kXwwX-aMCQAJ> > > /dps > > -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Updated Version of web2py and sending emails stopped working
Using office365 as the service. It was setup to use the scheduler but I placed it directly in the controller to see could I get it to work from there but did not work. No errors are raised when running from controller via Apache. Only error raised was running from local host “mail.send failure please run connect() first”. Regards, James On Thu, 5 Apr 2018 at 11:13 am, Dave S wrote: > > > On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: >> >> >> >> On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: >>> >>> Any insights?? Surely this is not preferable when people who have >>> clients and have to update web2py get no support. >> >> >> I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very big >> jump, perhaps, but it went okay. >> >> Perhaps you can do a -M yourapp -S and try the commands by hand, and see >> if you get additional error messages. >> >> Is this code in a controller or a module? Is it run during a normal >> request, or from the scheduler? >> >> > Also, are you connecting to a third-party mail service such as Google or > SparkPost? > > /dps > > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/Qf_LhJAsT7c/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Updated Version of web2py and sending emails stopped working
On Wednesday, April 4, 2018 at 6:13:06 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: >> >> >> >> On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: >>> >>> Any insights?? Surely this is not preferable when people who have >>> clients and have to update web2py get no support. >> >> >> I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very big >> jump, perhaps, but it went okay. >> >> Perhaps you can do a -M yourapp -S and try the commands by hand, and see >> if you get additional error messages. >> >> Is this code in a controller or a module? Is it run during a normal >> request, or from the scheduler? >> >> > Also, are you connecting to a third-party mail service such as Google or > SparkPost? > [I don't; I have an AWS Linux machine with a local sendmail, which may color my answers] And see Massimo's comments from last June: https://groups.google.com/d/msg/web2py/9kQU1LVbHMI/kXwwX-aMCQAJ> /dps -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Updated Version of web2py and sending emails stopped working
On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: >> >> Any insights?? Surely this is not preferable when people who have >> clients and have to update web2py get no support. > > > I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very big > jump, perhaps, but it went okay. > > Perhaps you can do a -M yourapp -S and try the commands by hand, and see > if you get additional error messages. > > Is this code in a controller or a module? Is it run during a normal > request, or from the scheduler? > > Also, are you connecting to a third-party mail service such as Google or SparkPost? /dps -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Updated Version of web2py and sending emails stopped working
On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: > > Any insights?? Surely this is not preferable when people who have clients > and have to update web2py get no support. I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very big jump, perhaps, but it went okay. Perhaps you can do a -M yourapp -S and try the commands by hand, and see if you get additional error messages. Is this code in a controller or a module? Is it run during a normal request, or from the scheduler? /dps -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Updated Version of web2py and sending emails stopped working
Hi. Could you post the entire ticket? -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.