Why not take out the try/except so you can see what the error really is?
-steve
complaw@hal-pc.org wrote:
>
> Here is the revised code:
>
> try:
> mailhost = context.SuperValues('Mail Host')[0]
> except:
> raise AttributeError, "Cannot find a Mail Host object."
>
> ..and this is the error message: