Re: newbie pipe stdin to sendmail

2016-11-02 Thread Mark Coetser
On 02/11/2016 22:14, Andy Bach wrote: #!/usr/bin/perl my $vacation_forward = 'vacat...@domain.com <http://domain.com>'; open(OUT, "|/usr/sbin/sendmail $vacation_forward") or die ("Can't sendmail - $!"); my $email_addr_to = ''; while ( <>

Re: newbie pipe stdin to sendmail

2016-11-02 Thread Mark Coetser
always use a conditional on open stmts, often open(my $mh, "|$sendmail $vac) or die "can't exec $sendmail: $!"; Using a lexical, instead of a NAME is modern perl, you still do print $mh "header: ... maybe (perldoc MIME::Parser): ### Congratulations: you

newbie pipe stdin to sendmail

2016-11-02 Thread Mark Coetser
Hi OK, complete newbie to perl. I am busy playing around/learning and I wanted to create a simple perl script that I can pipe an email too and then grab the To header and output that and then pipe the unmodified email to sendmail with a different recipient... similar to cat /var/mail

Re: sendmail in perl

2011-05-12 Thread Dr.Ruud
On 2011-05-12 08:20, Irfan Sayed wrote: i need to use sendmail module of perl to send mails. i have seen much perl modules to send mails but i dont know which one is suitable for my requirement my requirement is : i need such module which will allow me to generate/create table structure

Re: sendmail in perl

2011-05-12 Thread Natal Ngétal
2011/5/12 Leo Susanto : > I prefer using Net::SMTP with Authen::SASL for authentication. I agree Net::SMTP is good. -- \0/ Hobbestigrou site web: erakis.im -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: sendmail in perl

2011-05-12 Thread Leo Susanto
I prefer using Net::SMTP with Authen::SASL for authentication. Plus, read this: http://en.wikipedia.org/wiki/HTML_email On Wed, May 11, 2011 at 11:20 PM, Irfan Sayed wrote: > hi all, > > i need to use sendmail module of perl to send mails. i have seen much perl > modules to send m

Re: sendmail in perl

2011-05-12 Thread Pete Smith
Cheers, Pete [1] http://search.cpan.org/perldoc?MIME::Lite On 12/05/11 07:20, Irfan Sayed wrote: hi all, i need to use sendmail module of perl to send mails. i have seen much perl modules to send mails but i dont know which one is suitable for my requirement my requirement is : i need such modu

sendmail in perl

2011-05-11 Thread Irfan Sayed
hi all, i need to use sendmail module of perl to send mails. i have seen much perl modules to send mails but i dont know which one is suitable for my requirement my requirement is :  i need such module which will allow me to generate/create table structure format in the main body of mail  no

Re: Perl Mail::Sendmail encoding problem

2011-01-18 Thread Uri Guttman
> "SF" == Shlomi Fish writes: SF> Don't slurp files this way: SF> http://perl-begin.org/tutorials/bad-elements/#slurp if you are going to show a slurp sub in your tutorial at least show a good one. look at my slurp article in the File::Slurp distro for a better and faster one. avoiding

Re: Perl Mail::Sendmail encoding problem

2011-01-18 Thread Shlomi Fish
, so it will apprears with "weird" characters. > > > Does anyone has any working example or any suggestion please ? > Maybe look into the Encode module and maybe try http://search.cpan.org/dist/Email-Sender/ instead of Mail-Sendmail. Now a few comments on your code: >

Perl Mail::Sendmail encoding problem

2011-01-17 Thread sync
ple or any suggestion please ? Best Regards, My code is : 1. #!/usr/bin/perl 2. 3. 4. use strict; 5. use Mail::Sendmail; 6. use MIME::Base64; 7. 8. my $content = `cat tmp.txt`; 9. 10. print "Sending an email ."; 11. 12. my %mail = ( 13.

RE: sendmail arguments

2010-04-29 Thread John Bruin
. John > -Original Message- > From: Uri Guttman [mailto:u...@stemsystems.com] > Sent: Thursday, 29 April 2010 4:11 p.m. > To: John Bruin > Cc: beginners@perl.org > Subject: Re: sendmail arguments > > >>>>> "JB" == John Bruin writes: > &g

Re: sendmail arguments

2010-04-29 Thread Uri Guttman
sub mail(*) { JB> my $top = shift; JB> open(MAIL, "| $sendmail -t -oi -oem") or die "open: $!"; JB> $top->print(\*MAIL); JB> close MAIL; JB> } look at the manual page for sendmail. if you don't have man pages installed, google for it. thos

AW: sendmail arguments

2010-04-28 Thread Thomas Bätzler
John Bruin asked: > I have inherited a Perl script which sends and parses email. I > am having trouble trying to figure out what the "-oi" and > "-oem" arguments do in the sub below. Can anyone help? "-oe" sets the ErrorMode. >From http://www.sendmail.org/~ca/email/man/sendmail.html: ErrorMod

Re: sendmail arguments

2010-04-28 Thread Jim Gibson
t; open(MAIL, "| $sendmail -t -oi -oem") or die "open: $!"; $top->print(\*MAIL); close MAIL; } I did a 'man sendmail' on my Unix-based system and came up with this explanation: -oiWhen reading a message from standard input, don'

Re: sendmail arguments

2010-04-28 Thread John W. Krahn
John Bruin wrote: I have inherited a Perl script which sends and parses email. I am having trouble trying to figure out what the "-oi" and "-oem" arguments do in the sub below. Can anyone help? They are arguments for the program in $sendmail. First you have to find

sendmail arguments

2010-04-28 Thread John Bruin
I have inherited a Perl script which sends and parses email. I am having trouble trying to figure out what the "-oi" and "-oem" arguments do in the sub below. Can anyone help? Thanks John sub mail(*) { my $top = shift; open(MAIL, "| $sendmail -

RE: sendmail module

2008-10-16 Thread Jeff Pang
> Message du 16/10/08 14:12 > De : [EMAIL PROTECTED] > A : [EMAIL PROTECTED], beginners@perl.org > Copie à : > Objet : RE: sendmail module > > > > Hi All/Jeff, > > Somehow I am not able to install/configure Sendmail module. Can somebody > have another option/s

RE: sendmail module

2008-10-16 Thread Irfan.Sayed
Hi All/Jeff, Somehow I am not able to install/configure Sendmail module. Can somebody have another option/script/module then please let me know. I am really stuck. Please help/advise. Regards Irf. -Original Message- From: Jeff Pang [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16

Re: sendmail module

2008-10-16 Thread Jeff Pang
Jeff. --- On Thu, 10/16/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Subject: sendmail module > To: beginners@perl.org > Date: Thursday, October 16, 2008, 5:25 AM > Hi All, > > > > I am using Perl 5

sendmail module

2008-10-16 Thread Irfan.Sayed
Hi All, I am using Perl 5.6.1 and want to sue sendmail module. I have copied the Sendmail.pm module to the mail dir. But still it is not executing properly. Following is the exact error. Can't locate MIME/Base64.pm in @INC (@INC contains: /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/

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 &qu

Re: Using 'sendmail'

2008-01-03 Thread John W. Krahn
int"Enter Subject"; my $sub=; print"Enter Body"; my $body=; open (MAIL,"|/usr/sbin/sendmail"); You should verify that the pipe opened correctly: open MAIL, '|-', '/usr/sbin/sendmail' or die "Cannot open pipe to sendmail: $!&q

Re: Using 'sendmail'

2008-01-03 Thread John W. Krahn
why the label? >my $to=; > >print"Enter Subject"; >my $sub=; > >print"Enter Body"; >my $body=; > > > > open (MAIL,"|/usr/sbin/sendmail"); You should verify that the pipe opened correctly: open MAIL, '|-',

Re: Using 'sendmail'

2008-01-03 Thread Aruna Goke
my $to=; print"Enter Subject"; my $sub=; print"Enter Body"; my $body=; open (MAIL,"|/usr/sbin/sendmail"); print MAIL "To: $to\n"; print MAIL "From: $from\n"; print MAIL "Subject: $sub\n\n"; print MAIL "$body\n"

Using 'sendmail'

2008-01-03 Thread Gurpreet Singh
uot;Enter Subject"; my $sub=; print"Enter Body"; my $body=; open (MAIL,"|/usr/sbin/sendmail"); print MAIL "To: $to\n"; print MAIL "From: $from\n"; print MAIL "Subject: $sub\n\n"; print MAIL "$body\n"; close MAIL; However i

RE: Where can I download the Perl Mail::Sendmail library module

2007-03-07 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> From: Michael Goopta [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 07, 2007 12:13 > To: beginners@perl.org > Subject: Where can I download the Perl Mail::Sendmail library module > > Hi Chas, > > Thanks a lot for your help. It did get me started. It had time

Where can I download the Perl Mail::Sendmail library module

2007-03-07 Thread Michael Goopta
Hi Chas, Thanks a lot for your help. It did get me started. It had time module. Now, when I started writing a simple sendmail routine, I find that I do not have Mail/sendmail.pm file. (It was not included in the download) Can you please help me by telling me where I can download it from. I work

Re: sendmail

2007-02-21 Thread JupiterHost.Net
sendmail 2.09 module from CPAN. Hello, Just give my suggestion.I usually use Net::SMTP to sendmail to multi-recipients. Using this module you don't need to foreach loop to sendmail. For example,it can write: my $smtp = Net::SMTP->new('Host'=>$mtahost,'Port&#

Re: sendmail

2007-02-20 Thread Jeff Pang
> >I need to send mail to all users defined in one array. I tried foreach >loop but what is happening is it is sending mail to only first user in >the array. not sending mails to rest of the users. > >Is there any way to send a mail to all users in array in one shot. I am &g

RE: sendmail

2007-02-20 Thread Nagasamudram, Prasanna Kumar
-Original Message- From: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 4:07 PM To: beginners@perl.org Subject: sendmail Hi All, I need to send mail to all users defined in one array. I tried foreach loop but what is happening is it is sending mail to

sendmail

2007-02-20 Thread Sayed, Irfan \(Irfan\)
Hi All, I need to send mail to all users defined in one array. I tried foreach loop but what is happening is it is sending mail to only first user in the array. not sending mails to rest of the users. Is there any way to send a mail to all users in array in one shot. I am using sendmail 2.09

Re: Sendmail mail from script

2006-06-05 Thread JupiterHost.Net
Мандип Сингх Бхабха wrote: How to use this module if there is russian language in subject field ? Body of message, can be send using html. use the # _text_info # _html_info keys for the message, use the Mail::Sender object's encoding methods for the subject, etc -- To unsubscribe, e-mail:

RE: Sendmail mail from script

2006-06-04 Thread Мандип Сингх Бхабха
TED] Sent: Friday, June 02, 2006 9:53 PM To: beginners@perl.org Subject: Re: Sendmail mail from script Мандип Сингх Бхабха wrote: > There are multiple ways to send mail from perl script. I think this > code will help. Your life will be much much much simpler if you use Mail::Se

Re: Sendmail mail from script

2006-06-02 Thread JupiterHost.Net
very very portably (PIPEing to sendmail is *not* very portabel in the least) Its very easy to maintain and troubelshoot: email(\%myemail) or die "Email could not be sent: $@"; HTH :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: Sendmail mail from script (Closed)

2006-06-02 Thread joseph
uot; Can't open mail handle: $!"; print ML $_ ; close(ML); ---- Or ---- open (SENDMAIL, "|/usr/sbin/sendmail") || die "ERROR: Can not run sendmail"; print SENDMAIL "MIME-Version: 1.0\n"; print SENDMAIL "

RE: Sendmail mail from script

2006-06-01 Thread Мандип Сингх Бхабха
e: $!"; print ML $_ ; close(ML); Or ---- open (SENDMAIL, "|/usr/sbin/sendmail") || die "ERROR: Can not run sendmail"; print SENDMAIL "MIME-Version: 1.0\n"; print SENDMAIL "Content-Type:

Sendmail mail from script

2006-06-01 Thread joseph
rts with "ERROR" foreach (@mail2log) { if ($_ =~ /^ERROR/ig) #since this could always be true i'd like to mail the value of $_ via Sendmail but how? { open(SENDMAIL "|/usr/sbin/sendmail -oi -t -odq") or die "Can't fork for se

Re: sendmail, etc.

2005-09-09 Thread Bob Showalter
method: $msg->to(@addrlist); Do I have to think about tuning my sendmail daemon? Not for Perl's sake. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: sendmail, etc.

2005-09-09 Thread Wiggins d'Anconia
is). Can $to be a list of 100 email >>addresses? >> >>Do I have to think about tuning my sendmail daemon? >>It is starting automatically upon boot, of course >> >>-matthew sacks >>Peace Corps Volunteer >>[EMAIL PROTECTED] >> > > >

Re: sendmail, etc.

2005-09-09 Thread Ranish
erldoc -q mail). > > Where I can I find some advice? > E.G., there is always an example of code that defines > a $to argument. but can $to be a list of addresses? > (a group, that is). Can $to be a list of 100 email > addresses? > > Do I have to think about tuning my sendmai

Re: sendmail, etc.

2005-09-08 Thread Chris Devers
able to do something like send_message_to( @addresses ) where, of course, send_message_to() is an exercise for the reader :-) > Do I have to think about tuning my sendmail daemon? Maybe, but I wouldn't worry about that unless you notice problems. -- Chris Devers ®…Vs>AíEÖZ

sendmail, etc.

2005-09-08 Thread Matthew Sacks
that defines a $to argument. but can $to be a list of addresses? (a group, that is). Can $to be a list of 100 email addresses? Do I have to think about tuning my sendmail daemon? It is starting automatically upon boot, of course -matthew sacks Peace Corps Volunteer [EMAIL PROT

Re: How to get the sendmail path

2005-06-04 Thread Chris Devers
Ah. Then clearly you need to be doing something more robust than this. You *could* pull some clever code in your Perl to figure out where the sendmail program lives, but it's hardly worth the effort. It can be all over the place on different systems, and a lot of systems now won't

Re: How to get the sendmail path

2005-06-04 Thread Chris Devers
On Fri, 3 Jun 2005, John W. Krahn wrote: > Chris Devers wrote: > > > > If you don't have the `locate` database on your system, you're going > > to have to walk the while filesystem, using something like `find`. > > Here's one way to do it, but it will be very, very, very slow: > > > > $ find /

Re: How to get the sendmail path

2005-06-04 Thread John Doe
rver... > > Anish Hi One way you could do it: Set the $sendmailPath in a BEGIN block after detecting the OS the program is running on. Something like BEGIN { our $sendmail; if ($^O eq 'linux') { $sendmail='/usr/sbin/sendmail'; } elsif ($^O eq ) { }

Re: How to get the sendmail path

2005-06-03 Thread John W. Krahn
Chris Devers wrote: If you don't have the `locate` database on your system, you're going to have to walk the while filesystem, using something like `find`. Here's one way to do it, but it will be very, very, very slow: > $ find / -type f | grep -v '/.*/.*/.*/.*/' ^

Re: How to get the sendmail path

2005-06-03 Thread Anish Kumar K
AIL PROTECTED]> To: "Anish Kumar K" <[EMAIL PROTECTED]> Cc: "Perl Beginners List" Sent: Saturday, June 04, 2005 10:39 AM Subject: Re: How to get the sendmail path > On Sat, 4 Jun 2005, Anish Kumar K wrote: > > > Isn't there a easy way [to find sendmail]

Re: How to get the sendmail path

2005-06-03 Thread Chris Devers
On Sat, 4 Jun 2005, Anish Kumar K wrote: > Isn't there a easy way [to find sendmail] [question-mark] If you're on a Unix-ish platform, and the sendmail program is installed somewhere in your $PATH, the `which` command can help. For instance: $ which sendmail /usr/

How to get the sendmail path

2005-06-03 Thread Anish Kumar K
Hi I wrote a program using send mail for a mail application. In the server I was testing it sendmail was installed in /usr/bin/sendmail. But in a different server the path is different. Isn;t there a easy way for this. Like I need to get the path of the send mail and then assign it. Please

Re: Fedora core 3 breaks sendmail functionality???

2004-12-22 Thread mgoland
- Original Message - From: Michael Kraus <[EMAIL PROTECTED]> Date: Wednesday, December 22, 2004 6:47 pm Subject: Fedora core 3 breaks sendmail functionality??? > G'day... Hello > > I've recently upgraded to Fedora Core 3, and have found that now > my Perl

Fedora core 3 breaks sendmail functionality???

2004-12-22 Thread Michael Kraus
G'day... I've recently upgraded to Fedora Core 3, and have found that now my Perl scripts which use the MIME::Lite module no longer work. According to the error log, the problem is their seems to be permission problems executing sendmail. (See below) [Thu Dec 23 10:07:52 2004] [erro

Re: Mail::Sendmail

2004-06-09 Thread Wiggins d Anconia
> > Hi all! > > I am using Mail::Sendmail module to send e-mails from my perl application but the text of these messages seems to be too much long and when receiving the e-mail the text of the message is not complete. > Do yo know if there are any message size limitation? It

Re: Mail::Sendmail

2004-06-09 Thread mike
On Wed, 2004-06-09 at 10:59 +0200, Miguel Ãngel Morales wrote: > Hi all! > > I am using Mail::Sendmail module to send e-mails from my perl application but the > text of these messages seems to be too much long and when receiving the e-mail the > text of the message is not complet

Mail::Sendmail

2004-06-09 Thread Miguel Ángel Morales
Hi all! I am using Mail::Sendmail module to send e-mails from my perl application but the text of these messages seems to be too much long and when receiving the e-mail the text of the message is not complete. Do yo know if there are any message size limitation? It this limitation exists, what

RE: sendmail

2004-06-04 Thread cslyon
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 04, 2004 6:39 AM > To: [EMAIL PROTECTED] > Subject: sendmail > > ok here it what I did and it is emailing sporadically or not at all??? > Also it is not placing the array

RE: sendmail

2004-06-04 Thread Charles K. Clarkson
From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote: : ok here it what I did and it is emailing sporadically or not : at all??? : Also it is not placing the array data into the email body??? : it is like the if clause it not working. : : thank you! Isolate just the sendmail part

Re: using Mail::Sendmail

2004-06-04 Thread Roberto Etcheverry
[EMAIL PROTECTED] wrote: ok here it what I did and it is emailing sproadically. Also it is not placing the array data into the email body??? ## Set pragmas use strict; use Mail::Sendmail; ## Set and edit variables my $foreigntapes="/usr/local/log/foreign_tape

sendmail

2004-06-04 Thread DBSMITH
ok here it what I did and it is emailing sporadically or not at all??? Also it is not placing the array data into the email body??? it is like the if clause it not working. thank you! ## Set pragmas use strict; use Mail::Sendmail; ## Set and edit variables my

RE: using Mail::Sendmail

2004-06-03 Thread DBSMITH
ok here it what I did and it is emailing sproadically. Also it is not placing the array data into the email body??? ## Set pragmas use strict; use Mail::Sendmail; ## Set and edit variables my $foreigntapes="/usr/local/log/foreign_tapes.log"; delete

RE: using Mail::Sendmail

2004-06-03 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > I was looking at the Mail::Sendmail module from CPAN and I did not > find anything that showed printing a body. How do I print a body of > text data from a variable? I haven't used Mail::Sendmail, but it looks like the message body goes in the Message ent

RE: using Mail::Sendmail

2004-06-03 Thread DBSMITH
I was looking at the Mail::Sendmail module from CPAN and I did not find anything that showed printing a body. How do I print a body of text data from a variable? The highlighted code is not working but I was playing with it to get this message with the scaler $ftapes listed. thank you

RE: using Mail::Sendmail

2004-06-02 Thread DBSMITH
AM To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> cc: Subject:RE: using Mail::Sendmail [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote: : All, : : I am getting these errors... any ideas? : : Global symbol "%mail" requires explic

Re: using Mail::Sendmail

2004-06-02 Thread Peter Scott
l >line. >Bareword "EO_SIG" not allowed while "strict subs" in use at foreign_tape_ck.pl . Generally perl reports the line number of the error. Did you paste these correctly? >Here is my code: >## Set pragmas >use strict; >use Mail::Sendmail; >## Set an

RE: using Mail::Sendmail

2004-06-02 Thread Charles K. Clarkson
eign_tape_ck.pl . foreign_tape_ck.pl had compilation errors. [snip] : if ( -s OUT ) { : my %mailman = ( From => 'EDM01 <[EMAIL PROTECTED]>', : To => 'Derek Smith <[EMAIL PROTECTED]>', : Subject => "Foreign Tapes Found" ); : sendmail (%mail) or

using Mail::Sendmail

2004-06-02 Thread DBSMITH
is my code: ## Set pragmas use strict; use Mail::Sendmail; ## Set and edit variables my $foreigntapes="/usr/local/log/foreign_tapes.log"; delete $ENV{'IFS'}; local $ENV{'PATH'} = "/usr/epoch/bin:/usr/epoch/EB/bin:/usr/bin:/usr/sbi n:/bin:/sbin"; #print $EN

Re: perl +sendmail

2004-04-20 Thread WC -Sx- Jones
deny wrote: ok i am installing postfix and all works fine in my script to sending data just a problem i want to receive my mail from my domain-name what pop soft easy to configure can i use ? pop3, movemail (Mozilla), imap - you have many options -- but this is now best asked on the postfix-user

Re: perl +sendmail

2004-04-20 Thread deny
If sendmail is too complex to install/operate maybe you should try http://www.postfix.org/ f ok i am installing postfix and all works fine in my script to sending data just a problem i want to receive my mail from my domain-name what pop soft easy to configure can i use ? thanks -- To

RE: Sendmail::Milter

2004-04-19 Thread Thomas Bätzler
Dirk Tamme <[EMAIL PROTECTED]> asked: > I get the error message: > /usr/bin/perl: relocation error: > /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Sendmail/Milter/ Milter.so: > undefined symbol: smfi_setconn > > It seems that there is missing somethi

Re: Sendmail::Milter

2004-04-19 Thread Dirk Tamme
Thomas Bätzler wrote: Dirk Tamme <[EMAIL PROTECTED]> asked: I get the error message: /usr/bin/perl: relocation error: /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Sendmail/Milter/ Milter.so: undefined symbol: smfi_setconn It seems that there is missing som

Sendmail::Milter

2004-04-19 Thread Dirk Tamme
Hello, there is a special mailing list for Sendmail::Milter, a Perl package for communication with the Milter interface of sendmail. But, I didn't get an answer there, so please allow me to ask at this list. I used a script given by Derek Balling: www.tpj.com/documents/s=7178/sam0206l/

Re: perl +sendmail

2004-04-17 Thread WC -Sx- Jones
deny wrote: my firewall don't stop the 25 port locally i think that sendmail is not operationnel telnet 127.0.0.1 25 If you have SMTP services then you will get a SMTP banner. If sendmail is too complex to install/operate maybe you should try http://www.postfix.org/ ftp://ftp.porcupin

Re: perl +sendmail

2004-04-17 Thread deny
The point he was making is that if you call sendmail directly you have to make these tests everytime you want to use the script on a new machine. (And, for the purposes of these tests, an upgrade means a new machine.) There are modules that will handle sending a message via SMTP, make sure it

Re: perl +sendmail

2004-04-17 Thread Daniel Staal
--As of Saturday, April 17, 2004 7:54 AM +0200, deny is alleged to have said: dont know i use sendmail-8.12.9-7mdk its my server lrwxrwxrwx1 root root 21 avr 13 14:37 sendmail -> /etc/alternatives/mta* The point he was making is that if you call sendmail directly you have

perl +sendmail

2004-04-16 Thread deny
piping to a program is very unreliable. for instance - what flags are necessary with the version of sendmail? dont know i use sendmail-8.12.9-7mdk - Is sendmail sendmail or a symlink to the server's real Mail Server ? its my server lrwxrwxrwx1 root root 21 avr 13

Re: sendmail +perl

2004-04-16 Thread JupiterHost.Net
deny wrote: good afternoon i use sendmail to send mail with a script perl i receive this mail in /var/spool/clientmqueue but not in my mailbox mozilla here is the line in the script perl open(MAIL, "|/usr/sbin/sendmail [EMAIL PROTECTED]"); piping to a program is very unreliable. fo

Re: sendmail +perl

2004-04-16 Thread deny
good afternoon i use sendmail to send mail with a script perl i receive this mail in /var/spool/clientmqueue but not in my mailbox mozilla here is the line in the script perl open(MAIL, "|/usr/sbin/sendmail [EMAIL PROTECTED]"); sendmail is launched [EMAIL PROTECTED] clientmqueue]# ps -

Cannot get Sendmail::Milter compiled on HP-UX 11i

2004-04-06 Thread Goerke, Michael
Hi, I'm trying to install Sendmail::Milter on an HP9000/B1000 box, HP-UX 11i. Perl was taken from HP (perl, v5.8.2 built for PA-RISC1.1-thread-multi, HP c-compiler used), sendmail is in its last version (8.12.11), and Sendmail:Milter is 0.18. After appending to site.config.m4: APPE

Re: sendmail error: No reciient address found in header

2003-12-09 Thread Wiggins d Anconia
Please bottom post > I got it. I never thought indentation could cause sendmail to mess up. > As a beginner, I need you try > everything possible to know their pros and cons. Next time - I may > consider using a CPAN module. > :-) > > Thanks I would disagree he

Re: sendmail error: No reciient address found in header

2003-12-09 Thread B. Fongo
I got it. I never thought indentation could cause sendmail to mess up. As a beginner, I need you try everything possible to know their pros and cons. Next time - I may consider using a CPAN module. :-) Thanks Wiggins d'Anconia wrote: B. Fongo wrote: It's my first time to use sendma

Re: sendmail and attachment

2003-11-28 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > I have sendmail working ok with perl by calling sendmail (qmail-inject). > However, now I need to send an attachment with it. Can someone tell me how > this can be done? > > fw Is that the Mail::Sendmail module, or shelling out to an external sendmail u

Re: sendmail and attachment

2003-11-26 Thread drieux
On Wednesday, Nov 26, 2003, at 15:52 US/Pacific, [EMAIL PROTECTED] wrote: I have sendmail working ok with perl by calling sendmail (qmail-inject). However, now I need to send an attachment with it. Can someone tell me how this can be done? The CPAN is your friend, you might want to look at say

sendmail and attachment

2003-11-26 Thread perl
I have sendmail working ok with perl by calling sendmail (qmail-inject). However, now I need to send an attachment with it. Can someone tell me how this can be done? fw - eMail solutions by http://www.swanmail.com -- To unsubscribe, e-mail: [EMAIL

Mail::Send or Mail::Sendmail question

2003-06-14 Thread Motherofperls
My script uses Sendmail. And I was just wondering about the question that is in todays topics, How to pack the mail module with your project. Do all servers with perl 5 and above come with Mail::Sendmail? Should I put Mail::Send in my programs library of odds n ends and use it instead?

RE: sendmail syntax error

2003-06-02 Thread Geer, David van der
> [EMAIL PROTECTED] ./summer.pl > Bareword found where operator expected at ./summer.pl line 78, near "print > SENDMAIL "TO" > (Might be a runaway multi-line "" string starting on line 77) >(Do you need to predeclare print?) > syntax error at ./

sendmail syntax error

2003-06-01 Thread Leaw, Chern Jian
t;not ready" and sends an e-mail notification to the sysadmin detailing the process id and service name that matched the string "not ready". However, the script produce the following syntax error below, when it comes to the SENDMAIL part in the sub-routine sendMail: [EMAIL PR

Re: sendmail not working

2003-04-05 Thread R. Joseph Newton
mel awaisi wrote: > Hello, > > i have the script below retest.pl, and whe i try to run it i get nothing. > > [EMAIL PROTECTED] cgi-bin]# perl retest.pl > [EMAIL PROTECTED] cgi-bin]# > > -retest.pl > # Open Sendmail > ope

Re: sendmail not working script

2003-04-05 Thread Wiggins d'Anconia
mel awaisi wrote: Hi, this is the whole script: #!/usr/bin/perl use strict; use warnings; # Open Sendmail open(MAIL, "|/usr/lib/sendmail -t"); # Write to the sendmail program print MAIL "To: [EMAIL PROTECTED]"; print MAIL "From: [EMAIL PROTECTED]"; print MAIL &quo

sendmail not working script

2003-04-05 Thread mel awaisi
Hi, this is the whole script: #!/usr/bin/perl use strict; use warnings; # Open Sendmail open(MAIL, "|/usr/lib/sendmail -t"); # Write to the sendmail program print MAIL "To: [EMAIL PROTECTED]"; print MAIL "From: [EMAIL PROTECTED]"; print MAIL "Subject:Yoour Subj

sendmail not working

2003-04-05 Thread mel awaisi
Hello, i have the script below retest.pl, and whe i try to run it i get nothing. [EMAIL PROTECTED] cgi-bin]# perl retest.pl [EMAIL PROTECTED] cgi-bin]# -retest.pl # Open Sendmail open(MAIL, "|/usr/lib/sendmail -t"); # Write to the sendmail pro

RE: Mail::sendmail

2003-02-28 Thread Dan Muey
I use Netscape, ActivePerl 5.8, NT. > > > > Thanks, > > Steve Few > > NC DENR > > [EMAIL PROTECTED] > > > > > > -- sendmail.pl - > > #!/usr/bin/perl -w #Or Mail::Sendmail, which can be used > like this: ;

RE: Mail::sendmail

2003-02-27 Thread Wagner, David --- Senior Programmer Analyst --- WGO
pl below is sendmail.pl. > > Any suggestions? I use Netscape, ActivePerl 5.8, NT. > > Thanks, > Steve Few > NC DENR > [EMAIL PROTECTED] > > > ------ sendmail.pl - > #!/usr/bin/perl -w > #Or Mail::Sendmail, which can be used li

Mail::sendmail

2003-02-27 Thread Steve Few
ivePerl 5.8, NT. Thanks, Steve Few NC DENR [EMAIL PROTECTED] -- sendmail.pl - #!/usr/bin/perl -w #Or Mail::Sendmail, which can be used like this: ; use Mail::Sendmail; %mail = ( To => '[EMAIL PROTECTED]',

RE: Sendmail confusion

2003-02-21 Thread Dan Muey
Any changes to sendmail? When pipingto an external prog you now have to deal with what's going on in that prog and perhaps an error it is sending out is making perl say ' no recipients' when there is. I'd say use a module that doesn't realy on external prog.

Re: Sendmail confusion

2003-02-21 Thread Ramprasad
Rob Richardson wrote: Greetings! I have a script that uses sendmail. It used to work. I didn't touch it. It doesn't work now. The log file tells me that there are no recipient addresses. It looks to me like they are. Here's the code: # Send a confirming E-mail. open (S

Sendmail confusion

2003-02-20 Thread Rob Richardson
Greetings! I have a script that uses sendmail. It used to work. I didn't touch it. It doesn't work now. The log file tells me that there are no recipient addresses. It looks to me like they are. Here's the code: # Send a confirming E-mail. open (SENDM

Re: Where to I get sendmail for Win98?

2003-02-19 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > > On Wed, 19 Feb 2003 13:02:29 -0800, "R. Joseph Newton" <[EMAIL PROTECTED]> wrote: > > > Steve Maroney wrote: > > > > > Is there a Sendmail port to Winblows ? I d

Re: Where to I get sendmail for Win98?

2003-02-19 Thread wiggins
On Wed, 19 Feb 2003 13:02:29 -0800, "R. Joseph Newton" <[EMAIL PROTECTED]> wrote: > Steve Maroney wrote: > > > Is there a Sendmail port to Winblows ? I dont think there is . > > > > Thank you, > &g

Re: Where to I get sendmail for Win98?

2003-02-19 Thread R. Joseph Newton
Steve Maroney wrote: > Is there a Sendmail port to Winblows ? I dont think there is . > > Thank you, > Steve Maroney Yes. Mail::Sendmail can be istalled quickly and easily on ActiveState Perl using Perl Package Manager [ppm]. The command, once ppm is started, is: install Ma

Re: Where to I get sendmail for Win98?

2003-02-19 Thread R. Joseph Newton
Rob Richardson wrote: > Greetings! > > The script I am trying to improve uses sendmail. Before I install the > script on its target Unix box, I would like to make sure the sendmail > part of it works. However, I'm working on a Win98 box. Where can I > get a sendmail fo

  1   2   3   >