Description

At first that is not a bug! It is probably a feature request for the code. result looks like a bug

The function which checks if a wiki is configured right for using email does only check if mail_smarthost or mail_sendmail is defined in wikiconfig.py.

It does not check if mail_from is defined too!

If you haven't setup mail_from than using the email button does give a failure report.

/usr/lib/python2.3/site-packages/MoinMoin/util/mail.py in encodeAddress (address=None, charset=utf-8)

 
30 composite = re.compile(r'(?P<phrase>.+)(?P<angle_addr>\<.*\>)', 
31 re.UNICODE) 
32 match = composite.match(address) 
33 if match: 
34 phrase = match.group('phrase').encode(config.charset) 
match undefined 
composite = <_sre.SRE_Pattern object>
 
composite.match = <built-in method match of _sre.SRE_Pattern object>
 
address = None

I would prefer the is mail configured ckeck to check for mail_from too. -- ReimarBauer 2006-01-22 10:01:37

Steps to reproduce

  1. do this...

Example

Details

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Workaround

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/TestForEmailUseableFailsIfWrongConfigured (last edited 2007-10-29 19:13:11 by localhost)