Using 'sendmail'

2008-01-03 Thread Gurpreet Singh
Hi All, I am a beginner of perl and sorry if I am asking something silly. I have written the following code using some pre-made scripts on net. #!/usr/bin/perl l1:print"Enter your E-Mail ID"; my $from=; l2:print"Enter receipt's E-Mail ID"; my $to=; print"Enter Subject"; my $sub=;

Re: Using 'sendmail'

2008-01-03 Thread Aruna Goke
Gurpreet Singh wrote: Hi All, I am a beginner of perl and sorry if I am asking something silly. I have written the following code using some pre-made scripts on net. #!/usr/bin/perl l1:print"Enter your E-Mail ID"; my $from=; l2:print"Enter receipt's E-Mail ID"; my $to=; print"Enter

Re: Using 'sendmail'

2008-01-03 Thread John W. Krahn
Gurpreet Singh wrote: > Hi All, Hello, > I am a beginner of perl and sorry if I am asking something silly. > I have written the following code using some pre-made scripts on net. > > > #!/usr/bin/perl You should have these two lines next: use warnings; use strict; > l1:print"Enter your E-Mai

Re: Using 'sendmail'

2008-01-03 Thread John W. Krahn
Gurpreet Singh wrote: Hi All, Hello, I am a beginner of perl and sorry if I am asking something silly. I have written the following code using some pre-made scripts on net. #!/usr/bin/perl You should have these two lines next: use warnings; use strict; l1:print"Enter your E-Mail ID";

Re: Using 'sendmail'

2008-01-03 Thread Mark Wagner
On 1/2/08, Gurpreet Singh <[EMAIL PROTECTED]> wrote: > Hi All, > > I am a beginner of perl and sorry if I am asking something silly. > I have written the following code using some pre-made scripts on net. > open (MAIL,"|/usr/sbin/sendmail"); > print MAIL "To: $to\n"; If you're providing the reci

error using sendmail

2001-05-21 Thread Stussie, Mike
Hi all, I am trying to send an email to users based on a list of emails that have been read into an array. The array contains about 600 records but it abends at around 200. Here is the error message from the error log [21/May/2001:14:47:40] failure ( 746): for host 10.416.87.26 trying to POST

Re: error using sendmail

2001-05-21 Thread Peter Scott
At 02:17 PM 5/21/01 -0500, Stussie, Mike wrote: >I am trying to send an email to users based on a list of emails that have >been read into an array. The array contains about 600 records but it abends >at around 200. Woo, I'll answer someone who knows what ABEND means :-) Your script is producing

Re: error using sendmail

2001-05-21 Thread M.W. Koskamp
> I am trying to send an email to users based on a list of emails that have > been read into an array. The array contains about 600 records but it abends > at around 200. May i ask what the purpose of that script is? Maarten.

RE: error using sendmail

2001-05-22 Thread Stussie, Mike
e sendmail $!"); } Any advice would be appreciated, Regards, Mike Stussie > -Original Message- > From: Peter Scott [SMTP:[EMAIL PROTECTED]] > Sent: Monday, May 21, 2001 2:34 PM > To: Stussie, Mike; [EMAIL PROTECTED] > Subject: Re: error using s

RE: error using sendmail

2001-05-22 Thread Peter Scott
At 10:30 AM 5/22/01 -0500, Stussie, Mike wrote: >Thanks for the response Peter! > >This is being performed through a browser as part of an admin tool and >when I added the below code as suggested the entire file is sent but all >the MIME info is displayed on the screen. How can I eliminate this