Re: E-mails no longer being sent to a specific user account
"Kaplan, Andrew H." <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hello -- This is a follow-up to my previous e-mail. I checked the indention that was mentioned previously, and I did notice that all lines were indented from the ''' line in the new file as opposed to being flush with the line in the original script. Is this the indentation that caused the problem to occur? -----Original Message----- From: Werner F. Bruhin [mailto:[email protected]] Sent: Tuesday, October 02, 2012 9:56 AM To: Kaplan, Andrew H.; [email protected] Subject: Re: [Roundup-users] E-mails no longer being sent to a specific user account Hi Andrew, The indentation in your version is still not correct. In Python is very important, see here: http://docs.python.org/release/2.5.1/ref/indentation.html In your script you have: for loop: = at indent level 0 statements within for loop are at indent level 1 your smtp.sendmail is again at indent level 0, which means it is outside the "for loop" and will therefore only execute when the for loop is finished, but the intent (at least when I look at the one in the source control on sourceforge: http://roundup.hg.sourceforge.net/hgweb/roundup/roundup/file/b247d334dc03/scripts/roundup-reminder ) is that it executes within the "for loop". Rename yours and try with the attached and compare the two. Werner The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev