RE: [cgiwrap-users] Sending email using perl scripts.
Brought to you by:
nneul
From: Joe H. <on...@dc...> - 2001-10-02 17:18:21
|
On Tue, 2 Oct 2001, David DelBiondo wrote: > I believe you are correct in thinking it is my script. I also have a > web based email program that I am using, which is written in perl, > that works fine. The line that calls the sendmail program I altered > as follows. $mailprog = '/usr/sbin/sendmail 2>&1'; but it did not > work I still received the error. Again, it is only when I put a > period in the email name. I can use underscores and dashes, they > work. But that period? > > Thanks for the help. Let me know if you have any other thoughts. The '2>&1' needs to go at the end of the command. [It redirects stderr to stdout] From the way you have 'mailprog' defined at the beginning, I'm guessing that you're calling it elsewhere, and passing other arguments to it. You'll need to find where it's actually called, and place the redirection after all other args. ----- Joe Hourcle |