>
> >   getting it ready to go live and played with EMBPERL_MAIL_ERRORS_TO
>
> >   Everything now works great, except that I'm getting 3 copies of
> >   every error email. Has anyone else experienced this? The emails have
> >   different message IDs and all are sent one after the other.
>
> Right, after getting some time to look at this further I noticed that
> Embperl was sending the error mail at the end of every Execute. ie in
> epmain.c::EndOutput
>

but only if bAppendToMain is not set, so it should only be send at the end
of the main page

> Most of my pages follow this basic outline:
>
> base.epl:
>  Do init stuff
>  Execute(layout.epl)
>
> layout.epl:
>  Do layout stuff and somewhere in this do
>  Execute(*) for the content
>
> It seems that even when I placed a "die" in base.epl the same error
> page was being sent on the cleanup of *, of layout.epl and base.epl.
>
> Two questions:
> 1. Is the error message ever different at any of these points? (I
>    couldn't see any difference when I tested with errors in any of
>    these places but I did only cause errors with die)

The last message may contains more errors, in case addtionaly errors occurs
between the first and the last mail, but the last message will contain _all_
errors.

>
> 2. If not, then what are the reasons against only sending the error
>    mail at the end of base.epl and skipping it for the other nested
>    Executes?
>

If Embperl really sends more than one mail in your case, then it's a bug in
Embperl and I have to look deeper into it and fix it

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to