Re: send email by /usr/bin/mail

2012-04-02 Thread Shlomi Fish
Hi lina, On Mon, 2 Apr 2012 21:17:09 +0800 lina wrote: > Hi, > > I don't know how to send email in perl with > /usr/bin/mail > > Thanks ahead for any suggestions You shouldn't use /usr/bin/mail to send E-mail in Perl, as there are better (= more portable/etc.) solutions on CPAN. See: https:/

Re: send email by /usr/bin/mail

2012-04-02 Thread Dr.Ruud
On 2012-04-02 16:13, Samir Arishy wrote: eval { $sender->send($email) }; die "Error sending email: $@" if $@; Don't test $@, it is a global. Make use of the return value of the eval: eval { $sender->send( $email ); 1; # success } or do { # failure my $ev

Re: send email by /usr/bin/mail

2012-04-02 Thread Shekar
Here is the example i used to send emails from Perl scripts, might be useful for you...!!! sub sendEmail { my ($file)=@_; use Mail::Sender; my $sender = new Mail::Sender { smtp => '127.0.0.1', from => 'ad...@domain.com' } or die "unable to create the obj $!, $@.\n

Re: send email by /usr/bin/mail

2012-04-02 Thread Samir Arishy
This one worked for me...I am using gmail!!! ... use Email::Send; use Email::Send::Gmail; use Email::Simple::Creator; my $email = Email::Simple->create( header => [ >From =>' x...@gmail.com', To => 'y...@gmail.com', Subject => 'msg from Perl', ], body => 'send from Perl script.', ); my $sender =

Re: send email by /usr/bin/mail

2012-04-02 Thread lina
On Mon, Apr 2, 2012 at 9:34 PM, Shawn H Corey wrote: > On 12-04-02 09:17 AM, lina wrote: >> >> Thanks ahead for any suggestions > > > Have you tried searching CPAN for "mail"? http://search.cpan.org/ This short script is planned to use in remote server to check whether has new file with "step*" n

Re: send email by /usr/bin/mail

2012-04-02 Thread Shawn H Corey
On 12-04-02 09:17 AM, lina wrote: Thanks ahead for any suggestions Have you tried searching CPAN for "mail"? http://search.cpan.org/ -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. [updated for today's pr

RE: Send mail using SSL

2010-01-12 Thread Gurunandan R. Bhat
be I am not careful enough to find it. > > Is there any module easy to send attachments over ssl? > > -Original Message- > From: Gurunandan R. Bhat [mailto:g...@dygnos.com] > Sent: Tuesday, January 12, 2010 2:52 PM > To: Thomas Yan > Cc: beginners@perl.org > Subjec

RE: Send mail using SSL

2010-01-12 Thread Thomas Yan
52 PM To: Thomas Yan Cc: beginners@perl.org Subject: Re: Send mail using SSL Use Email::Sender::Transport::SMTP > a > I want to send mail using ssl with smtp server. Does Mail::Sender support > SSL? Or must I use Net::Smtp::SSL ? > > Regards, > Thomas. > > -- To u

Re: Send mail using SSL

2010-01-11 Thread Gurunandan R. Bhat
Use Email::Sender::Transport::SMTP > a > I want to send mail using ssl with smtp server. Does Mail::Sender support > SSL? Or must I use Net::Smtp::SSL ? > > Regards, > Thomas. > >

Re: Send email using smtp

2009-01-08 Thread Steve Bertrand
Jenda Krynicky wrote: > From: Gunnar Hjalmarsson >> Steve Bertrand wrote: >>> Fúlvio Figueirôa wrote: I solved my problem using sendmail with the code below: open (MAIL, "|/usr/sbin/sendmail -t "); print MAIL "From: someaddr...@somedomain\n"; print MAIL "To: someaddre...@s

Re: Send email using smtp

2009-01-08 Thread Jenda Krynicky
From: Gunnar Hjalmarsson > Steve Bertrand wrote: > > Fúlvio Figueirôa wrote: > >> I solved my problem using sendmail with the code below: > >> > >> open (MAIL, "|/usr/sbin/sendmail -t "); > >> print MAIL "From: someaddr...@somedomain\n"; > >> print MAIL "To: someaddre...@somedomain\n"; > >> print

Re: Send email using smtp

2009-01-07 Thread Rob Dixon
Gunnar Hjalmarsson wrote: > Steve Bertrand wrote: >> Fúlvio Figueirôa wrote: >>> I solved my problem using sendmail with the code below: >>> >>> open (MAIL, "|/usr/sbin/sendmail -t "); >>> print MAIL "From: someaddr...@somedomain\n"; >>> print MAIL "To: someaddre...@somedomain\n"; >>> print MAIL "C

Re: Send email using smtp

2009-01-07 Thread Gunnar Hjalmarsson
Steve Bertrand wrote: Fúlvio Figueirôa wrote: I solved my problem using sendmail with the code below: open (MAIL, "|/usr/sbin/sendmail -t "); print MAIL "From: someaddr...@somedomain\n"; print MAIL "To: someaddre...@somedomain\n"; print MAIL "Content-Type: text/plain\n"; print MAIL "Subject: Ve

Re: Send email using smtp

2009-01-06 Thread Steve Bertrand
Fúlvio Figueirôa wrote: > Hi Octavian, > I solved my problem using sendmail with the code below: > > open (MAIL, "|/usr/sbin/sendmail -t "); > print MAIL "From: someaddr...@somedomain\n"; > print MAIL "To: someaddre...@somedomain\n"; > print MAIL "Content-Type: text/plain\n"; > print MAIL "Subject

Re: Send email using smtp

2009-01-06 Thread Fúlvio Figueirôa
Hi Octavian, I solved my problem using sendmail with the code below: open (MAIL, "|/usr/sbin/sendmail -t "); print MAIL "From: someaddr...@somedomain\n"; print MAIL "To: someaddre...@somedomain\n"; print MAIL "Content-Type: text/plain\n"; print MAIL "Subject: Very simple email test\n\n"; print MAI

Re: Send email using smtp

2009-01-06 Thread Octavian Rasnita
From: "Fúlvio Figueirôa" Hi Octavian, I solved my problem using sendmail with the code below: open (MAIL, "|/usr/sbin/sendmail -t "); print MAIL "From: someaddr...@somedomain\n"; print MAIL "To: someaddre...@somedomain\n"; print MAIL "Content-Type: text/plain\n"; print MAIL "Subject: Very simpl

Re: Send email using smtp

2009-01-06 Thread Gunnar Hjalmarsson
Fúlvio Figueirôa wrote: I don't need to use the SMTP procotol, Well, you *do* need an SMTP server that you are allowed to use. I need only send an email. This is an example that makes use of my favorite module Mail::Sender (written by Jenda, btw): use Mail::Sender; ref (new Mail

Re: Send email using smtp

2009-01-06 Thread Ralf Peng
2009/1/6 Fúlvio : > Hi Jenda, > > I try to debug the code and the error message was: "Bad file > descriptor". > I will try to use the other modules. > I need only send an email. > If you are not familiar with SMTP protocal (RFC 821), you are hard to use Net::SMTP. I'd suggest you use another modul

Re: Send email using smtp

2009-01-06 Thread Octavian Rasnita
From: "Fúlvio" > Hi Octavian, > > I don't need to use this server. I need only to send an email, but as > I don't know perl > very well I get an example using SMTP and yahoo server. You can't send an email without using an SMTP server, or sendmail, qmail... Do you use an SMTP server for sending

Re: Send email using smtp

2009-01-06 Thread Fúlvio
Hi Octavian, I don't need to use this server. I need only to send an email, but as I don't know perl very well I get an example using SMTP and yahoo server. Thanks, Fúlvio On 5 jan, 17:16, orasn...@gmail.com (Octavian Rasnita) wrote: > From: "Fúlvio" > Hi all, > > I am trying to send an email

Re: Send email using smtp

2009-01-06 Thread Fúlvio
Hi Jenda, I try to debug the code and the error message was: "Bad file descriptor". I will try to use the other modules. I need only send an email. Thanks, Fúlvio On 5 jan, 17:46, je...@krynicky.cz (Jenda Krynicky) wrote: > From: Fúlvio > > > Hi all, > > > I am trying to send an email using

Re: Send email using smtp

2009-01-06 Thread Fúlvio Figueirôa
Hi Rob, Thanks for your answer. I change the code to try debug and put the correct SMTP address: $smtp_test = Net::SMTP->new('smtp.mail.yahoo.com', Timeout => 30, Debug => 1,)|| print "ERROR creating SMTP obj: $! \n"; but the following message is displayed: "Bad file descriptor". I don't need t

Re: Send email using smtp

2009-01-05 Thread Rob Dixon
Fúlvio wrote: > > I am trying to send an email using the following code: > > use Net::SMTP; > > $smtp = Net::SMTP->new("smtp.yahoo.com"); > $smtp->mail('fulviocg'); > > but the error below is happening: > > Can't call method "mail" on an undefined value at > > Can someone help me? The d

Re: Send email using smtp

2009-01-05 Thread Jenda Krynicky
From: Fúlvio > Hi all, > > I am trying to send an email using the following code: > > use Net::SMTP; > > $smtp = Net::SMTP->new("smtp.yahoo.com"); > $smtp->mail('fulviocg'); > > but the error below is happening: > > Can't call method "mail" on an undefined value at Apparently the Net::SMTP->

Re: Send email using smtp

2009-01-05 Thread Octavian Rasnita
From: "Fúlvio" Hi all, I am trying to send an email using the following code: use Net::SMTP; $smtp = Net::SMTP->new("smtp.yahoo.com"); $smtp->mail('fulviocg'); but the error below is happening: Can't call method "mail" on an undefined value at Can someone help me? Hi, Can you use Yah

RE: Send Mail with attachment

2008-10-22 Thread Stewart Anderson
> > Hi All, > > I'm using perl module MIME::Lite to sent out email with attachments, > may I know what "Type" should I define to attach any type of files, > for instance .jpg, .xls, .doc, .pdf and etc without checking the > attached file type. Is there any global variable to define instead of >

Re: Send Mail with attachment

2008-10-22 Thread Octavian Rasnita
From: <[EMAIL PROTECTED]> > Hi All, > > I'm using perl module MIME::Lite to sent out email with attachments, > may I know what "Type" should I define to attach any type of files, > for instance .jpg, .xls, .doc, .pdf and etc without checking the > attached file type. Is there any global variable

Re: Send Mail with attachment

2008-10-22 Thread Jeff Pang
2008/10/22 <[EMAIL PROTECTED]>: > Hi All, > > I'm using perl module MIME::Lite to sent out email with attachments, > may I know what "Type" should I define to attach any type of files, > for instance .jpg, .xls, .doc, .pdf and etc without checking the > attached file type. Is there any global var

Re: send die "" to a file

2008-09-26 Thread Jeff Pang
2008/9/26 aa aa <[EMAIL PROTECTED]>: > > Hi, > > I try to open several files, if one of them failed, my program will die and > then send the died information to a file. > > eg. > open(AA, "a.txt") or die "can't open file a.txt\n"; > > But I want to this string "can't open file a.txt\n" print to a

Re: send die "" to a file

2008-09-26 Thread Randal L. Schwartz
> "aa" == aa aa <[EMAIL PROTECTED]> writes: aa> Hi, aa> I try to open several files, if one of them failed, my program will die and then send the died information to a file. aa> eg. aa> open(AA, "a.txt") or die "can't open file a.txt\n"; aa> But I want to this string "can't open file

RE: send die "" to a file

2008-09-26 Thread Stewart Anderson
> -Original Message- > From: Li, Jialin [mailto:[EMAIL PROTECTED] > Sent: 26 September 2008 06:16 > To: aa aa > Cc: beginners@perl.org > Subject: Re: send die "" to a file > > On Thu, Sep 25, 2008 at 11:55 PM, aa aa <[EMAIL PROTECTED]> wrote: >

Re: send die "" to a file

2008-09-25 Thread Li, Jialin
On Thu, Sep 25, 2008 at 11:55 PM, aa aa <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to open several files, if one of them failed, my program will die and > then send the died information to a file. > > eg. > open(AA, "a.txt") or die "can't open file a.txt\n"; > > But I want to this string "can't

Re: Send both parts of a multipart email

2008-08-26 Thread Dr.Ruud
Rob Dixon schreef: > Dr.Ruud wrote: >> Rob Dixon schreef: >>> - Outlook is many years old, and even the email client on Vista is >>> better. >> >> I guess you are mixing up Outlook and Outlook Express there. > > No I understand the difference. Outlook first came out in 1997 and > has been tweake

Re: Send both parts of a multipart email

2008-08-26 Thread Dr.Ruud
Jeff Pang schreef: > Outlook Express is just an email client, which even can't support > IMAP protocal. No, Outlook Express works fine with IMAP. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://le

Re: Send both parts of a multipart email

2008-08-25 Thread Jeff Pang
6/08/08 07:26 > De : "Rob Dixon" > A : "Perl Beginners" > Copie à : "Dr.Ruud" > Objet : Re: Send both parts of a multipart email > > > Dr.Ruud wrote: > > Rob Dixon schreef: > > > >> - Outlook is many years old, and even the

Re: Send both parts of a multipart email

2008-08-25 Thread Rob Dixon
Dr.Ruud wrote: > Rob Dixon schreef: > >> - Outlook is many years old, and even the email client on Vista is >> better. > > I guess you are mixing up Outlook and Outlook Express there. No I understand the difference. Outlook first came out in 1997 and has been tweaked almost annually ever sinc

Re: Send both parts of a multipart email

2008-08-25 Thread Dr.Ruud
Rob Dixon schreef: > - Outlook is many years old, and even the email client on Vista is > better. I guess you are mixing up Outlook and Outlook Express there. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: Send both parts of a multipart email

2008-08-25 Thread Rob Dixon
David Allender wrote: > > Thanks all, I think I have came up with a conclusion. > > I think I would just send the HTML as an attachment, but is there a way for > me to do it in the cgi without having to put a ? > > Also, I dont believe I can use a module, so that would be sort of a > hindrance. >

Re: Send both parts of a multipart email

2008-08-25 Thread David Allender
On Aug 23, 12:53 am, [EMAIL PROTECTED] (Dr.Ruud) wrote: > David Allender schreef: > > > I was wondering if i can send both parts of a multipart email. > > Basically what im trying to do is, > > > send an email to a person with text/enriched text at the top of the > > email, and text/html at the bot

Re: Send both parts of a multipart email

2008-08-23 Thread Dr.Ruud
David Allender schreef: > I was wondering if i can send both parts of a multipart email. > Basically what im trying to do is, > > send an email to a person with text/enriched text at the top of the > email, and text/html at the bottom of the email. The reason being is > so: Its a cgi that handle

Re: Send both parts of a multipart email

2008-08-22 Thread Jeff Pang
On Fri, Aug 22, 2008 at 8:02 AM, David Allender <[EMAIL PROTECTED]> wrote: > > send an email to a person with text/enriched text at the top of the > email, and text/html at the bottom of the email. Yes, MIME::Lite can do that. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: send mail with authentication and secure connection

2006-03-06 Thread Marco CENTEMERI
It works fine! Thanks Marco C. --- Original Message Sent: Wednesday 01 March 2006 9:01:14 PM To: "Perl Beginners" From: "Michael Weber" <[EMAIL PROTECTED]> Subject: send mail with authentication and secure connection > How about this: > > Net::SMTP::TLS - An

Re: send mail with authentication and secure connection

2006-03-01 Thread Michael Weber
How about this: Net::SMTP::TLS - An SMTP client supporting TLS and AUTH Found on CPAN. -Michael >>> Leif Ericksen <[EMAIL PROTECTED]> 3/1/2006 1:24:30 PM >>> Are you trying to have a perl script send some mail for you? Your want perl to do expect like conditions? Look at using expect in perl

Re: send mail with authentication and secure connection

2006-03-01 Thread Leif Ericksen
Are you trying to have a perl script send some mail for you? Your want perl to do expect like conditions? Look at using expect in perl. -- Leif Ericksen On Wed, 2006-03-01 at 17:13 +0100, Marco CENTEMERI wrote: > Hi All, > I need to send automatically e-mail using my account. > Because mails h

Re: send mail with authentication and secure connection

2006-03-01 Thread JupiterHost.Net
Marco CENTEMERI wrote: Hi All, Hello, I need to send automatically e-mail using my account. Because mails have to be sent outside my company intranet and I must be authenticated and use TLS connection to talk to the server, the sendmail utility doesn't work. Have You any hint how to do it?

RE: send email with Perl

2005-10-27 Thread Ryan Frantz
> -Original Message- > From: Charles Li [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 27, 2005 9:38 AM > To: beginners@perl.org > Subject: send email with Perl > > Hi, > I am using "use Net::SMTP;" to send email to multiple > people. But the recipients can not send the other > rec

RE: send email with Perl

2005-10-27 Thread Bob Showalter
Charles Li wrote: > Hi, > I am using "use Net::SMTP;" to send email to multiple > people. But the recipients can not send the other > receiver emails. It just says undisclosed recipients. > How do I send email to multiple people and let them > see who is on the To list? Include a To: header in

Re: send a HUP signal

2005-07-24 Thread Peter Scott
On Sat, 23 Jul 2005 13:07:51 +0100, Dan wrote: > i don't even know if this is going to be possible, but i'll ask anyway. > my perl program runs as a constant process in the background. is there > anyway i can make another program/script send a HUP, or any kind of, signal > to the process, to say, f

Re: Send Mail Issue

2005-06-04 Thread John Doe
Am Samstag, 4. Juni 2005 08.38 schrieb Anish Kumar K: > This is the program I am using for SENDMAIL. Surprisingly it is not dying. It even does not compile. > I could see an error message in the browser as "The System cannot find the > path specified". I donno from where the message is coming.. >

RE: Send file to printer

2005-03-29 Thread Brian Volk
> > Hi All, > > I was able to send the file to the printer using: copy > ($print_file, '//hp-exch/HP4100-IS'); > just like the documentation said .. :~) I just had to get > the server name correct! > > Thanks! > > Brian > > > Well, I thought I knew what I was doing. Now I am havin

RE: Send file to printer

2005-03-29 Thread Brian Volk
> -Original Message- > From: Brian Volk [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 24, 2005 11:24 AM > To: 'Bakken, Luke'; 'Perl Beginners' > Subject: RE: Send file to printer > > > > > >From: Bakken, Luke [mailto:[EM

RE: Send file to printer

2005-03-24 Thread Brian Volk
>From: Bakken, Luke [mailto:[EMAIL PROTECTED] > c:\>net use lpt1: "\\hp-exch\HP LaserJet 4100(IS)" /p:n > > Then from the command line: > > c:\>copy file_for_printer lpt1: > > If that works, then using File::Copy to lpt1: should work as well. > > Luke > Thanks Luke! When I type this at a

RE: Send file to printer

2005-03-24 Thread Bakken, Luke
> > Another guess - maybe the problem is the whitespaces in the printer > > name. Try escaping them using backslashes: > > copy ($source_file, '//HP-EXCH/HP\ LaserJet\ 4100(IS)'); > > > > I would also try changing the single quotes to double quotes. > > > > Hope this helps, > > -- > > Offer Kaye

RE: Send file to printer

2005-03-24 Thread Brian Volk
> > Another guess - maybe the problem is the whitespaces in the printer > name. Try escaping them using backslashes: > copy ($source_file, '//HP-EXCH/HP\ LaserJet\ 4100(IS)'); > > I would also try changing the single quotes to double quotes. > > Hope this helps, > -- > Offer Kaye > I tried t

Re: Send file to printer

2005-03-24 Thread Offer Kaye
On Thu, 24 Mar 2005 08:11:42 -0500, Brian Volk wrote: > > To answer your question. "What makes you think that File::Copy's "copy" > supports printing > directly to a printer this way?" I was google'ing and found this > > Google "perlmonks.thepen.com/158993.html" Well, that looks like your

RE: Send file to printer

2005-03-24 Thread Brian Volk
> > On Wed, 23 Mar 2005 16:05:53 -0500, Brian Volk wrote: > > Hi All, > > > > I'm trying to send the output file to a network printer. > The program is > > working fine as far as producing the file, but it is not > being sent to the > > printer. Can someone pls take a look at my program and s

Re: Send file to printer

2005-03-24 Thread Offer Kaye
On Wed, 23 Mar 2005 16:05:53 -0500, Brian Volk wrote: > Hi All, > > I'm trying to send the output file to a network printer. The program is > working fine as far as producing the file, but it is not being sent to the > printer. Can someone pls take a look at my program and see if everything > lo

Re: Send email to microsoft exhange distribution list

2005-02-18 Thread Joel Merrick
On Fri, 2005-02-18 at 06:49 -0500, Chris Devers wrote: > On Fri, 18 Feb 2005, Hany Nagaty wrote: > > > I have a small question. > > > > Using Perl, I'd like to send an email to an exchange distribution > > list. How can it be done. Is there a module that acts like an outlook > > client to conne

Re: Send email to microsoft exhange distribution list

2005-02-18 Thread Chris Devers
On Fri, 18 Feb 2005, Hany Nagaty wrote: > I have a small question. > > Using Perl, I'd like to send an email to an exchange distribution > list. How can it be done. Is there a module that acts like an outlook > client to connect to the exchange server. I've searched a lot on CPAN > but couldn'

Re: Send in POST method

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice, legal API for s

Re: send multipart alternative mails using MIME::Entity

2003-08-09 Thread Wiggins d'Anconia
Ramprasad wrote: Can someone send me some examples on how to send multipart alternative mails using MIME::Entity Check the distribution's examples, for instance: http://search.cpan.org/src/ERYQ/MIME-tools-6.200_02/examples/mimepostcard If that doesn't provide enough, what have you tried? Where ar

Re: Send mail through local sendmail

2002-12-04 Thread wiggins
See inline. On Wed, 04 Dec 2002 08:04:37 -0500, zentara <[EMAIL PROTECTED]> wrote: > On 04 Dec 2002 11:48:54 +0200, [EMAIL PROTECTED] (Stelian Iancu) > wrote: > > >Hello! > > > >I have this cgi script and I want to send mail to the users using the

Re: Send mail through local sendmail

2002-12-04 Thread zentara
On 04 Dec 2002 11:48:54 +0200, [EMAIL PROTECTED] (Stelian Iancu) wrote: >Hello! > >I have this cgi script and I want to send mail to the users using the >local installed sendmail. Can you please explain how to do it? Or please >point me to a doc that explains this? There are alot of nice modules

Re: Send scripts via ssh@cesr.fr

2002-07-02 Thread Felix Geerinckx
on Tue, 02 Jul 2002 10:22:24 GMT, Sebastien Maret wrote: > Hi there, > I was wondering how to send commands on a distant machine via ssh in > a perl script. > I tryed this: > > open(REMOTE, " | ssh remote.domain.fr "); > print REMOTE "firstcommand"; > print REMOTE "secondcommand"; Did you chec

Re: send to new page?

2002-06-26 Thread Dennis Greenfield
Thanks to everyone who gave suggestions. They all were great. I've managed to get it working smoothly and saved myself a lot of time. Again, thanks to all. Dennis > > Hi Dennis, > > I solved this using Javascript. > The following will show you how to open a new window for you : > > my

Re: send to new page?

2002-06-26 Thread David vd Geer Inhuur tbv IPlib
Hi Dennis, I solved this using Javascript. The following will show you how to open a new window for you : my $thanks = "http://..";; print " "; Maybe not exactly what you want. But the following will submit your form and then change the location : # function T

Re: SEND MAIL QUESTION ON NT

2002-05-23 Thread Eric Wang
I just did this, have fun ^^ you must install Mail-sendmail module #CODE STARTS HERE #!d:\perl\bin\perl.exe -w use strict; use Mail::Sendmail; my %mymail; # use =cut =cut for /* */ my ($To, $subject, $body); $subject = "subject goes here"; $To = "[EMAIL PROTECTED]"; $body = "Hello friend, \nThi

RE: Send mail quesiton

2002-05-23 Thread Lance Prais
following folder: sea621/siebsrvr/BIN/site/lib/mail/sendmail.pm And got the same error. It is bizarre. Thanks Lance -Original Message- From: Todd Wade,,,Room 108 [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 12:11 PM To: [EMAIL PROTECTED] Subject: Re: Send mail quesiton Lance Prai

Re: Send mail quesiton

2002-05-23 Thread Todd Wade,,,Room 108
Lance Prais wrote: > All, >I am trying to "use Mail::Sendmail" to send mail. The problem is that > the sendmail is in the right folder. The only thing that comes to mind is > that I am doing this on NT > > The path for the sendmail.pm is perl/lib/mail/sendmail.pm > > I am getting the f

RE: Send mail Question on NT

2002-05-23 Thread Bob Rasey
On Thu, 2002-05-23 at 05:18, Jackson, Harry wrote: > I have tried the above code and got no joy whatsoever. I am getting the > error > > > Can't call method "mail" on an undefined value at H:\Perl\testing\mail.pl > line 13. > > > I have had a hunt around google and had little success. I have

RE: Send mail Question on NT

2002-05-23 Thread Jackson, Harry
> -Original Message- > From: Felix Geerinckx [mailto:[EMAIL PROTECTED]] #!/usr/bin/perl use Net::SMTP; use strict; my $server = 'LONEXC0'; my $to = '[EMAIL PROTECTED]'; my $from_name = '[EMAIL PROTECTED]'; my $from_email = '[EMAIL PROTECTED]'; my $subject

RE: Send mail Question on NT

2002-05-23 Thread Felix Geerinckx
on Thu, 23 May 2002 09:18:25 GMT, [EMAIL PROTECTED] (Harry Jackson) wrote: >> From: Michael Kelly [mailto:[EMAIL PROTECTED]] >> >> >> #!/usr/bin/perl >> >> use Net::SMTP; >> >> $server = 'your-smtp-server'; >> $to = '[EMAIL PROTECTED]'; >> $from_name = 'You'; >> $from_email = '[

RE: Send mail Question on NT

2002-05-23 Thread Jackson, Harry
> -Original Message- > From: Michael Kelly [mailto:[EMAIL PROTECTED]] > > > #!/usr/bin/perl > > use Net::SMTP; > > $server = 'your-smtp-server'; > $to = '[EMAIL PROTECTED]'; > $from_name = 'You'; > $from_email = '[EMAIL PROTECTED]'; > $subject= 'hello, email'; > > $

Re: SEND MAIL QUESTION ON NT

2002-05-22 Thread Michael Kelly
On 5/22/02 6:19 PM, Lance Prais <[EMAIL PROTECTED]> wrote: > HOW CAN I SEND MAIL USING PERL ON NT? DOES ANYONE KNOW OF EXAMPLES THAT > ARE OUT THERE ON THE WE? YOU CAN USE THE Net::SMTP MODULE. IT WORKS QUITE WELL FOR THINGS LIKE THIS. HERE IS A SNIPPET THAT MIGHT HELP. SEE THE DOCS ON THE Net

Re: Send email with attachment

2002-04-29 Thread Ahmed Moustafa
Bob Showalter wrote: >>-Original Message- >>From: Ahmed Moustafa >>Sent: Sunday, April 28, 2002 2:47 PM >>To: [EMAIL PROTECTED] >>Subject: Send email with attachment >> >> >>Hi All, >> >>Would you post an example of sending an email with >>attachment(s) using >>Net::SMTP, please? >> > >

RE: Send email with attachment

2002-04-29 Thread Bob Showalter
> -Original Message- > From: Ahmed Moustafa [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 28, 2002 2:47 PM > To: [EMAIL PROTECTED] > Subject: Send email with attachment > > > Hi All, > > Would you post an example of sending an email with > attachment(s) using > Net::SMTP, please?

RE: Send email with attachment

2002-04-29 Thread Jackson, Harry
>-Original Message- >From: Ahmed Moustafa [mailto:[EMAIL PROTECTED]] > > >Hi All, > >Would you post an example of sending an email with attachment(s) using >Net::SMTP, please? > Send an example of one that you have tried to code, if you have one, and someone will probably try and help

Re: Send binary via socket connection

2002-04-05 Thread drieux
On Friday, April 5, 2002, at 12:16 , paul beckett (JIC) wrote: > Does anybody know if you can send a binary file (eg. excel spreadsheet) > via > a socket connection (I'm using the IO::Socket::INET module); and if so > how? yes - I think the question is how to have the reader on the socket und

Re: Send attachment (but no MIME)?is it possible

2002-03-20 Thread zentara
On Wed, 20 Mar 2002 08:55:11 -0500, zentara <[EMAIL PROTECTED]> wrote: >On Wed, 20 Mar 2002 13:07:56 +0100, [EMAIL PROTECTED] (Anthony) wrote: > >>is it possible to have a perl script sending e-mail with attachment without >>using MIME::Lite since most host don't have MIME::Lite.? >> > >You could

Re: Send attachment (but no MIME)?is it possible

2002-03-20 Thread zentara
On Wed, 20 Mar 2002 13:07:56 +0100, [EMAIL PROTECTED] (Anthony) wrote: >is it possible to have a perl script sending e-mail with attachment without >using MIME::Lite since most host don't have MIME::Lite.? > You could try this script # #!/

Re: send email and upload file

2002-03-04 Thread Jonathan E. Paton
> My apologies to everyone but this list does say 'beginners'. Indeed it does, though some of us have lost our beginner status :) > My problem...I am trying to modify a script that a co-worker > wrote for us. He no longer works here. Typical The snippets of the script below > #!/usr/bin/pe

Re: send email and upload file

2002-03-04 Thread Robert Aspinall
In the HTML that refers to this perl script, you're going to need to add this to the form section: Then, in the perl script, you'll need to have $email_addresses equal the input passed by that form. There should be a section of the perl script that deals with HTTP GET or POST data - that's the s

RE: SEND

2002-01-21 Thread Russ Foster
As was pointed out before, it's probably difficult (if not impossible) to have perl access an already open telnet session. However, I have accomplished a similar task by using perl to copy to/from the Windows clipboard (of course, this precludes that you're using Windows). Here's the process (in

RE: SEND

2002-01-16 Thread Bob Showalter
> -Original Message- > From: Agustin Rivera [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 4:27 PM > To: Hanson, Robert; [EMAIL PROTECTED] > Subject: Re: SEND > > > Ok, thanks. But now you've made me curious about fork.. > > You c

Re: SEND

2002-01-16 Thread Agustin Rivera
ww.pollstar.com - Original Message - From: "Hanson, Robert" <[EMAIL PROTECTED]> To: "'Agustin Rivera'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 1:29 PM Subject: RE: SEND > All the module allows you to do is open up a

RE: SEND

2002-01-16 Thread Hanson, Robert
ssage- From: Agustin Rivera [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 4:15 PM To: Hanson, Robert; 'Oktay Ahmed'; [EMAIL PROTECTED] Subject: Re: SEND Is there a way with Net::Telnet that I can read data and send data simultaneously? Or how about capturing the

Re: SEND

2002-01-16 Thread Agustin Rivera
> To: "'Oktay Ahmed'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 1:12 PM Subject: RE: SEND > You can't send data through an open Telnet session if that is what you are > thinking. (disclaimer: maybe you can, but good

RE: SEND

2002-01-16 Thread Hanson, Robert
You can't send data through an open Telnet session if that is what you are thinking. (disclaimer: maybe you can, but good luck trying to do that). What you want is to use the Net::Telnet module. use Net::Telnet; # Open a telnet session my $t = new Net::Telnet (Timeout => 10); $t->open("1.2.3.4")

RE: Send e-mail attachment // A little help and a little help

2001-11-27 Thread Stout, Joel R
nt: Tuesday, November 27, 2001 4:06 AM To: [EMAIL PROTECTED] Subject: Re: Send e-mail attachment From: "paul beckett (JIC)" <[EMAIL PROTECTED]> > Does anybody know how I can send a smallish binary file as an e-mail > attachment, from perl (runn

Re: Send e-mail attachment

2001-11-27 Thread Kevin Meltzer
Or, just use MIME::Lite or another module which does these things for you :) Cheers, Kevin On Tue, Nov 27, 2001 at 09:20:35AM -0600, Tomasi, Chuck ([EMAIL PROTECTED]) said something similar to: > Here's one I can answer! I agonized over this for weeks, but finally got a > decent solution that

RE: Send e-mail attachment

2001-11-27 Thread Johnson, Shaunn
-- From: Paul Jasa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 10:09 AM To: 'Bob Showalter'; [EMAIL PROTECTED] Subject: RE: Send e-mail attachment Good question. I think that is done so that you can write other things to the LETTER prior to mailing it? Paul -

RE: Send e-mail attachment

2001-11-27 Thread Tomasi, Chuck
Here's one I can answer! I agonized over this for weeks, but finally got a decent solution that I use every day! For a binary file I would recommend "use MIME:Base64". An example is provided. Notes: o You'll want to use multi-part MIME encoding (hence the use of MIME::Base64). You cou

RE: Send e-mail attachment

2001-11-27 Thread Johnson, Shaunn
---Original Message- From: Paul Jasa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 10:09 AM To: 'Bob Showalter'; [EMAIL PROTECTED] Subject: RE: Send e-mail attachment Good question. I think that is done so that you can write other things to the LETTER prior to mailing i

RE: Send e-mail attachment

2001-11-27 Thread Bob Showalter
> -Original Message- > From: Paul Jasa [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 27, 2001 10:09 AM > To: 'Bob Showalter'; [EMAIL PROTECTED] > Subject: RE: Send e-mail attachment > > > Good question. I think that is done so that you can wri

RE: Send e-mail attachment

2001-11-27 Thread Paul Jasa
Good question. I think that is done so that you can write other things to the LETTER prior to mailing it? Paul -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 8:02 AM To: Paul Jasa; [EMAIL PROTECTED] Subject: RE: Send e-mail

RE: Send e-mail attachment

2001-11-27 Thread Bob Showalter
> -Original Message- > From: Paul Jasa [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 27, 2001 9:53 AM > To: 'paul beckett (JIC)'; [EMAIL PROTECTED] > Subject: RE: Send e-mail attachment > > > Paul, > one of my favorite lines in my scripts is:

RE: Send e-mail attachment

2001-11-27 Thread Paul Jasa
Paul, one of my favorite lines in my scripts is: open LETTER, "|mailx -s "SUBject Here!!" someone\@somewhere.com < /some/file"; open LETTER, "|mail -s "SUBject Here!!" someone\@somewhere.com < /some/file"; This sends an email with an whatever is in /some/file in the body. I don't know if this

Re: Send e-mail attachment

2001-11-27 Thread Jenda Krynicky
From: "paul beckett (JIC)" <[EMAIL PROTECTED]> > Does anybody know how I can send a smallish binary file as an e-mail > attachment, from perl (running on UNIX (OSFv.4.0)) Either MIME-lite or Mail::Sender. Both available from CPAN Jenda === [EMAIL PROTECTED] == http://J

Re: send errors to log and screen too.

2001-10-30 Thread Andrea Holstein
Peter Lemus wrote: > > Hi folks, how can I send the output of my script to a > errorlog and to the screen at the same time. It is > sending it only to the errorlog. > A simple stupid solution would be: write all you want to print to a variable. print the variable to screen and print the variable

Re: send variable

2001-05-08 Thread Tony Cook
On Tue, 8 May 2001, nakosu-budi wrote: > i have try from john lee mail. but i got problem > the message syntax error at ./test.pl line 2, near "use > CGI." > Execution of ./test.pl aborted due to compilation errors. > > -- > this nextPage.p

  1   2   >