Re: Send email using SMTP

2009-01-08 Thread Mike Williams
On Thu, Jan 8, 2009 at 2:17 PM, Adam Jimerson wrote: > > > > Please read more about Perl security in "perldoc perlsec". > > > > I wasn't able to remember what it exactly said, but yes it is about > $ENV{PATH}, on my machine perldoc perlsec is riddled with formating > problems > it looks like, her

Re: Send email using SMTP

2009-01-08 Thread Gunnar Hjalmarsson
Adam Jimerson wrote: Gunnar Hjalmarsson wrote: Adam Jimerson wrote: are you using the -T switch on your script? When I tried to open "/usr/bin/mail" with that switch on I get a error message about an insecure environment command. Did it just say "insecure environment"? On my box it says: "In

Re: Send email using SMTP

2009-01-08 Thread Adam Jimerson
Gunnar Hjalmarsson wrote: > Adam Jimerson wrote: >>> I solved my problem using the sendmail with the code below in my script: >>> >>> open (MAIL, "|/usr/sbin/sendmail -t "); >>> print MAIL "From: someaddr...@somedomain\n"; >>> print MAIL "To: someaddre...@somedomain\n"; >>> print MAIL "Content-Typ

Re: Login code

2009-01-08 Thread David Dorward
Brent Clark wrote: Would anyone have any example code of sessions for logins. CGI::Session has some example code: http://search.cpan.org/~markstos/CGI-Session-4.40/lib/CGI/Session.pm If you want to use the Catalyst framework, their tutorial has a section on handling logins with sessions: h