[ic] email.tag

Bas Bezemer interchange-users@interchange.redhat.com
Thu Feb 21 09:02:00 2002


Joachim Leidinger wrote:
> 
> Bas Bezemer wrote:
> >
> > Ha all,
> >
> > I'm having problems with the email.tag that is supposed to send
> > messages. But they appear once in a while and not at all. The error log
> > if IC doesn't give any warnings. Further I have set SendMailProgram to
> > the correct value (/usr/sbin/sendmail) but that has no effect.
> >
> > The strange thing is that on the same server resides a formmail.pl
> > script and a script to send ecards. And they work perfectly. The moment
> > you send a message or an ecard, they appear almost instantly in my email
> > box. What is happening?
> >
> > Regards,
> > Bas Bezemer
> 
> Wrong using of the email tag in your page?
> 
> Joachim
> 

Hi Joachim,

I have tried various formats but with no predictable result. It seems
the email are flushed once in a while and then I get the email send in
the, lets say, last hour. And I still think some mails are lost. I tried
the old form_mail.cfg subroutine and played a bit with the code, but it
shows the same behaviour as the [email]-tag.

Just speculating. Can it have something to do with IC (always better to
but the blame on someone else)? That the command to sendmail is not
closed correctly. And what is the difference between the call to
sendmail in Util.pm  and the email tag (
open(MVMAIL,"|$Vend::Cfg->{SendMailProgram} $to") versus
open(Vend::MAIL,"|$Vend::Cfg->{'SendMailProgram'} -t") ).

Regards,
Bas