[ic] email.tag

Joachim Leidinger interchange-users@interchange.redhat.com
Thu Feb 21 09:32:00 2002


Bas Bezemer wrote:
> > > 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?
....
> > Wrong using of the email tag in your page?
...
> 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") ).

Add 

<BR>TEST:
[perl interpolate=1]
$Config->{'SendMailProgram'} ;
[/perl]
<BR>End of test!<BR>

in your page (index or so) and see what you get. I get a
"usr/sbin/sendmail".
Did you get any messages in your error.log files? What is
/var/log/maillog saying?

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de] 
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de