Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: send form results by email

by Tomte (Priest)
on Mar 12, 2003 at 16:05 UTC ( [id://242403]=note: print w/replies, xml ) Need Help??


in reply to send form results by email

according to perldoc -f filehandle you can pass the filehandle to the subroutine

open my $sendmail, "|/path/to/sendmail -t $to" or die("couldn't open p +ipe to sendmail"); print_details($sendmail);

BTW: you don't have to use the & to call a subroutine, and, IMVHO, should be aware of it's meaning before doing so.

regards,
tomte


Replies are listed 'Best First'.
Re: Re: send form results by email
by Anonymous Monk on Mar 12, 2003 at 16:38 UTC
    Thanks Tomte, I tried your way...but it does not work. I have posted the same question again along with a piece of my code. May be u can check it and then give me a suitable suggestion. I would appreciate if u do so.

    edited: Wed Mar 12 16:42:02 2003 by jeffa - i moved your code to this thread, the id is still the same 242417

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://242403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-19 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found