tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: CGI vs SMTP vs Tomcat
Date Thu, 05 Oct 2006 19:27:00 GMT
Dave and crew-

Its Like anything else ...the solution will be that more expensive ..
Your battle plan should include looking into exec/spawn/system call function(s)
Long and short is you can probably exec a telnet to WhateverMailServer on Port 25 and issue
SMTP commands from the exec'ed shell
(At least this is what us old timers did in the old days..)

Anyone else?
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "David Smith" <dns4@cornell.edu>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, October 05, 2006 5:08 AM
Subject: Re: CGI vs SMTP vs Tomcat


> Really?!  I've been on this list for a while and do not recall such 
> derisive comments.  Perhaps a more optimistic approach would help.
> 
> As to the problem, I don't use the setup you are attempting, so you are 
> going to have to help with some more info.  Specifically a code example 
> and logs for the moment when the connection is attempted.  Further, some 
> information regarding the environment would also be helpful -- security 
> settings, etc., ...  It may be that the CGI is relying on environment 
> variables that aren't available to the tomcat service.
> 
> --David
> 
> HALSTEAD SGT WARREN F wrote:
>> Good Afternoon,
>>
>> I am running Tomcat 5 with CGI enabled. I am attempting to use
>> Net::SMTP to send e-mail, and it works fine from the command line, but
>> not running as a CGI script. I have scoured the internet and found other
>> people with this problem, but the derisive answer to their pleas for
>> help has been "Write it in Java dummy!"
>>
>> I do not have that option, and so I must ask if there is some
>> security function in Tomcat or a workaround, that allows perl CGI
>> scripts to make a socket connection to port 25 of another server.
>>
>> Thank you for your help in this matter. If you feel any other
>> details are required to troubleshoot my problem, please feel free to
>> contact me and ask.
>>
>> Very Respectfully,
>>
>> ~Sgt Halstead
>> 15th MEU
>> USMC
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message