Re: E-mails no longer being sent to a specific user account

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.