> Yes, we are running on Windows.

The only solution, due to the socket problem under mod_perl and windows, I
have found, is to start an extra process that acutally send the mail. For
example via system:

system ("perl mail.pl") ;

(of course you need a way how to pass the mail data you want to send, either
via the command line or via stdin)

> Thanks for the information, and I'll take
> a look at HTML::Embperl::Mail
>

That has the same problem with sockets under windows (i.e. it works only
once), but you can use it in such a programm like I suggest above

Gerald


> John
>
> On Sat, 30 Jun 2001, Gerald Richter wrote:
>
> > > We've tried to use both the Mail::Sendmail and Mail::Sender modules
with
> > > Embperl, and have come across the same difficulty with both: a script
will
> > > work correctly once (i.e. will send mail out through an SMTP server)
and
> > > then will not work again until Apache is re-booted.  Can anyone shed
some
> > > light, or offer suggestions?  We're using Embperl 1.3b3, Apache 1.3.12
and
> > > Mod_Perl 1.23.
> > >
> >
> > Are you running on Windows ? On windows I know about problem with
sockets,
> > which only works once under mod_perl/Apache, which would explain your
> > problem. On Unix I use successfully Net::SMTP to send mail. Maybe you
try
> > HTML::Embperl::Mail (which is part of Embperl distribution), does this
work
> > for you ?
> >
> > Gerald
> >
> > P.S. I am out of office for the next week, so I am not able to answer
before
> > july, 8.
> >
> > -------------------------------------------------------------
> > 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]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-------------------------------------------------------------
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