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 -- At the risk of sounding like a complete idiot, where would I insert the text in question? Thanks. -----Original Message----- From: John P. Rouillard [mailto:[email protected]] Sent: Monday, October 01, 2012 3:13 PM To: [email protected] Subject: Re: [Roundup-users] E-mails no longer being sent to a specific user account In message <[email protected]>, "Werner F. Bruhin" writes: >The error message means that "writer.lastpart" is not correctly indented. > >The easiest might be to get the script again from the following link: > >http://roundup.hg.sourceforge.net/hgweb/roundup/roundup/file/b247d334dc03/sc >ripts/roundup-reminder I haven't been following this thread in detailbut it seems to me that the call at the end to: smtp.sendmail(db.config.ADMIN_EMAIL, address, message.getvalue()) can have the address in the form of an rfc 822 email address list: [email protected], [email protected] The function smtp_send in roundup/mailer.py describes that second argument as: - to: a list of addresses usable by rfc822.parseaddr(). So did you try creating address as a single string with two addresses? You might need to modify the address string in roundup-reminder before the To header is created so the internal and envelope to lists agree. >Looking at that confirms that yours has an indentation problem, but it >has the code which looks like duplicate to me in there twice, I think it's the same code but run once to produce the text/plain format message and once to create the text/html format message. -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users 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. ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html