how to send a file via xmpp?

2018-11-23 Thread hw
Hi, how can I get my program to send a file via xmpp? Sending and receiving messages with Net::XMPP works fine, yet base64-encoding the files to send them as messages isn't really an option because there would be too many clients unable to decode them. -- To unsubscribe, e

Re: not able to send a cookie to my ajax call:

2016-06-14 Thread Rajeev Prasad via beginners
e question on stack exchange, but getting no response... > I am NOT able to send the cookie in response to AJAX call to my webpage. > I am following it exactly as the manual says, putting the cookie in the > header of "$q", but it is not working :(the javascript code does not find a

Re: not able to send a cookie to my ajax call:

2016-06-13 Thread Shlomi Fish
stack exchange, but getting no response... > I am NOT able to send the cookie in response to AJAX call to my webpage. > I am following it exactly as the manual says, putting the cookie in the > header of "$q", but it is not working :(the javascript code does not find any > cook

not able to send a cookie to my ajax call:

2016-06-12 Thread Rajeev Prasad via beginners
hello perl Gurus, I have put the same question on stack exchange, but getting no response... I am NOT able to send the cookie in response to AJAX call to my webpage. I am following it exactly as the manual says, putting the cookie in the header of "$q", but it is not working :(the

Re: Script to fork, send data to parent via a tcp conn

2016-05-16 Thread Jim Gibson
> On May 15, 2016, at 5:05 AM, Unknown User wrote: > > The port is not in use before i run the script. It is in use when i > run it. However the problem is that only one iteration runs. I > expected all to run. Your ‘listen’ statement is in a loop. Therefore, the second time through the loop,

Re: Script to fork, send data to parent via a tcp conn

2016-05-16 Thread Unknown User
> > Can you connect? > > On May 14, 2016, at 3:56 PM, Unknown User > wrote: > >>I wrote this scrpt to fork off a few child processes, then the child >>processes process some data, and send the data back to the parent >>through a tcp socket. >>This is not

Re: Script to fork, send data to parent via a tcp conn

2016-05-14 Thread lee
Unknown User writes: > I wrote this scrpt to fork off a few child processes, then the child > processes process some data, and send the data back to the parent > through a tcp socket. > This is not working as i expected it would. Why not? How can it be corrected? > > > #!/

Re: Script to fork, send data to parent via a tcp conn

2016-05-14 Thread Uri Guttman
On 05/13/2016 11:30 AM, Unknown User wrote: I wrote this scrpt to fork off a few child processes, then the child processes process some data, and send the data back to the parent through a tcp socket. This is not working as i expected it would. Why not? How can it be corrected? there are many

Re: Script to fork, send data to parent via a tcp conn

2016-05-14 Thread Jon E Price
Perhaps port 8989 is in use? Have you tried >telnet 127.0 0.1 8989 Can you connect? On May 14, 2016, at 3:56 PM, Unknown User wrote: >I wrote this scrpt to fork off a few child processes, then the child >processes process some data, and send the data back to the parent >t

Script to fork, send data to parent via a tcp conn

2016-05-14 Thread Unknown User
I wrote this scrpt to fork off a few child processes, then the child processes process some data, and send the data back to the parent through a tcp socket. This is not working as i expected it would. Why not? How can it be corrected? #!/usr/bin/perl -w use strict; use IO::Socket::INET; print

Re: Email::Mime not able to send array in mesg body

2013-02-20 Thread Brandon McCaig
On Wed, Feb 20, 2013 at 10:41:51AM -0800, Rajeev Prasad wrote: > hello follwoing code is sending empty email body. I am trying > to send HTML content in body of mesg. It works if I use a > string instead of array. I tried sending reference to > @email_body, but It simply printed array

Re: Email::Mime not able to send array in mesg body

2013-02-20 Thread Rajeev Prasad
thx. I did achieve it by using join... join('',@array) From: David Precious To: beginners@perl.org Sent: Wednesday, February 20, 2013 1:01 PM Subject: Re: Email::Mime not able to send array in mesg body On Wed, 20 Feb 2013 10:41:51 -0800 (P

Re: Email::Mime not able to send array in mesg body

2013-02-20 Thread David Precious
On Wed, 20 Feb 2013 10:41:51 -0800 (PST) Rajeev Prasad wrote: > hello follwoing code is sending empty email body. I am trying to send > HTML content in body of mesg. It works if I use a string instead of > array So, er, use a string? Why are you trying to pass an array as the body?

Email::Mime not able to send array in mesg body

2013-02-20 Thread Rajeev Prasad
hello follwoing code is sending empty email body. I am trying to send HTML content in body of mesg. It works if I use a string instead of array. I tried sending reference to @email_body, but It simply printed array_ref in body. modules used are: use Email::MIME; use Email::Sender::Simple qw

Re: Fine tuning gmail send

2012-09-26 Thread Shlomi Fish
Hello Leo, see my comments on your code below. On Wed, 26 Sep 2012 09:52:55 -0700 Leo Susanto wrote: > Basic script for gmail with subject: > > use strict; You should also use "use warnings;". > use Net::SMTP::TLS; > our $MAIL; Why "our" instead of "my"? And why is "$MAIL"

Re: Fine tuning gmail send

2012-09-26 Thread Leo Susanto
Basic script for gmail with subject: use strict; use Net::SMTP::TLS; our $MAIL; do "mail.conf"; my $mailer = new Net::SMTP::TLS( $$MAIL{'Host'}, Hello => $$MAIL{'Hello'}, Port=> $$MAIL{'Port'},

Re: Fine tuning gmail send

2012-09-26 Thread Samir Arishy
<< how would you like to generate the data section in the message?>> I checked the link you kindly sent me, and I actually used it in my example. So, I can put in my script : $my_email_body= " then $mailer->datasend("$my_email_body "); On Wed, Sep 26, 2012 at 5:51 PM, Shlomi Fish wrot

Re: Fine tuning gmail send

2012-09-26 Thread Shlomi Fish
Hi Samir, please avoid replying to me in private (as I specifically request in my signature), and instead reply to the list. I am now replying to the list. You should also avoid top-posting, which makes your messages hard to follow: http://en.wikipedia.org/wiki/Posting_style I am going to reply

Re: Fine tuning gmail send

2012-09-26 Thread Shlomi Fish
Hi Samir, a few comments on your code: On Wed, 26 Sep 2012 14:29:15 +0200 Samir Arishy wrote: > This code is working. > 1. Add "use strict;" and "use warnings;". > use Net::SMTP::TLS; > my $mailer = new Net::SMTP::TLS( > 'smtp.gmail.com', > Hello => 'smtp.gmail.com', > Port=>

Fine tuning gmail send

2012-09-26 Thread Samir Arishy
This code is working. use Net::SMTP::TLS; my $mailer = new Net::SMTP::TLS( 'smtp.gmail.com', Hello => 'smtp.gmail.com', Port=> 587, User=> 'amyID', Password=> 'myPW'); $a="data from some calculation inside the script."; $mailer->mail('x...@y.com'); $mailer->to(

Re: How to send RPCs to a Network server using Perl

2012-09-07 Thread Shlomi Fish
Hi, On Fri, 7 Sep 2012 07:25:38 -0700 pa...@riseup.net wrote: > The simple way is to write a web service with Soap, or Thrift which I > am familiar with. Thus the client could use the perl http library like > LWP::UserAgent. > SOAP may be a lot of things, but it isn't anything but simple (despi

Re: How to send RPCs to a Network server using Perl

2012-09-07 Thread pangj
The simple way is to write a web service with Soap, or Thrift which I am familiar with. Thus the client could use the perl http library like LWP::UserAgent. > I am planning to design a simple client application to execute RPC (Remote > Procedure Call) on a remote server. > > All I have managed to

Re: How to send RPCs to a Network server using Perl

2012-09-06 Thread Shlomi Fish
Hi Parag, On Wed, 5 Sep 2012 23:27:41 -0700 Parag Kalra wrote: > I am planning to design a simple client application to execute RPC > (Remote Procedure Call) on a remote server. > > All I have managed to learn so far is to create a TCP socket using > IO::Socket::INET. > > But I am not sure wha

How to send RPCs to a Network server using Perl

2012-09-05 Thread Parag Kalra
I am planning to design a simple client application to execute RPC (Remote Procedure Call) on a remote server. All I have managed to learn so far is to create a TCP socket using IO::Socket::INET. But I am not sure what to do next. Any pointers/help/online resources about the same would be helpfu

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.) so

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 {

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

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', ],

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

send email by /usr/bin/mail

2012-04-02 Thread lina
Hi, I don't know how to send email in perl with /usr/bin/mail Thanks ahead for any suggestions Best regards, -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

send email with perl 587 and startssl

2011-07-22 Thread m...@smtp.fakessh.eu
hello folks when is it the easiest solution to email 587 startssl and authentication I arrived by writing this but the email sent does not contain the headers of the authentication ]$ cat emailsender1.pl #!/usr/bin/perl use Email::MIME; my $message = Email::MIME->create(

Re: Using perl to send sms through siemens tc65

2011-07-18 Thread Matevž Markovič
Dear Mr. Coops and Fish, Thank you for your advices. I will first try the modules,, and if it does not work, then I will take the "manual" way. Should be fun :). Thank you, Matevž

Re: Using perl to send sms through siemens tc65

2011-07-18 Thread Rob Coops
the past few days), who is happy to get to know a > new > > language. > > What is my problem? Actually, I did not know where to post this, so I am > > just posting on this group (because I am after all a perl beginner). I > work > > in a company, where they want me t

Re: Using perl to send sms through siemens tc65

2011-07-18 Thread Shlomi Fish
tually, I did not know where to post this, so I am > just posting on this group (because I am after all a perl beginner). I work > in a company, where they want me to configure a linux centos server, that > would send and receive sms messages through the siemens tc65 terminal > siemen

Using perl to send sms through siemens tc65

2011-07-18 Thread Matevž Markovič
all a perl beginner). I work in a company, where they want me to configure a linux centos server, that would send and receive sms messages through the siemens tc65 terminal siemens mc65 receiver. My first goal is to get the terminal to send a sms message. I connected the tc65 to the computer and used

Re: draw html tables and send in mail

2011-06-06 Thread Chris Nehren
On Wed, Jun 01, 2011 at 04:29:44 -0400 , John SJ Anderson wrote: > First, you should probably read the Mail::Sendmail FAQ on HTML email: > That will explain > how to properly construct a multipart message that has both text and > HTML parts. (Note t

Re: draw html tables and send in mail

2011-06-01 Thread John SJ Anderson
On Wed, Jun 1, 2011 at 01:05, Irfan Sayed wrote: [ snip ] > use HTML::Table; > use Mail::Sendmail; > > $table = new HTML::Table(2, 2); >     print 'Start'; >     print $table->getTable; >     print 'End'; > >   %mail = ( To  => 'a...@abc.com', >    

Re: draw html tables and send in mail

2011-06-01 Thread Shlomi Fish
Hi Irfan, thanks for trying Perl. A few comments on your code. On Wednesday 01 Jun 2011 08:05:30 Irfan Sayed wrote: > Hi All, > > > I wrote perl script to draw html tables and send that html tables in mail . > i used two modules 1: html::tables and 2: mail::sendmail > >

draw html tables and send in mail

2011-05-31 Thread Irfan Sayed
Hi All, I wrote perl script to draw html tables and send that html tables in mail . i used two modules 1: html::tables and 2: mail::sendmail but when i send mail , it never prints the actual table in the mail body following is the code snippet, use HTML::Table; use Mail::Sendmail; $table

Re: using Net::SMTP unable to send out a mail

2010-11-04 Thread Agnello George
et::SMTP=GLOB(0x8fc86ac)>>> RCPT TO: >> Net::SMTP=GLOB(0x8fc86ac)<<< 250 2.1.5 Ok >> Net::SMTP=GLOB(0x8fc86ac)>>> Subject: this is a testmail >> Net::SMTP=GLOB(0x8fc86ac)>>> this is a data >> Net::SMTP=GLOB(0x8fc86ac)>>> . >&

Re: using Net::SMTP unable to send out a mail

2010-11-04 Thread Rob Coops
: > Net::SMTP=GLOB(0x8fc86ac)<<< 250 2.1.5 Ok > Net::SMTP=GLOB(0x8fc86ac)>>> Subject: this is a testmail > Net::SMTP=GLOB(0x8fc86ac)>>> this is a data > Net::SMTP=GLOB(0x8fc86ac)>>> . > Net::SMTP=GLOB(0x8fc86ac)<<< 221 2.7.0 Error: I can b

using Net::SMTP unable to send out a mail

2010-11-04 Thread Agnello George
HI i wrote a small simple script using Net::smtp however my local MTA is not accepting the mail here is the script : = #!/usr/bin/perl use strict; use warnings; use Net::SMTP; use Getopt::Long; my $from = '' || 'sys...@server1.com' ; my $sub =

RE: Send mail using SSL

2010-01-12 Thread Gurunandan R. Bhat
Look up the documentation for Email::Sender::Manual::QuickStart. It has a nice example for a MIME::Entity with an attachment. Regards On Tue, 2010-01-12 at 16:11 +0800, Thomas Yan wrote: > Thanks. But I can't find how to send attachment using Email::Sender on CPAN. > Or may

RE: Send mail using SSL

2010-01-12 Thread Thomas Yan
Thanks. But I can't find how to send attachment using Email::Sender on CPAN. Or maybe 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:

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. > >

Send mail using SSL

2010-01-11 Thread Thomas Yan
Hi, 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 unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Email does not send attachment ...

2009-12-09 Thread Tony Esposito
Thanks to all.  I abandoned MIME::Lite in favor Mail::Sender and got it to work fine. From: Philip Potter To: "beginners@perl.org" Sent: Wed, 9 December, 2009 6:06:01 Subject: Re: Email does not send attachment ... 2009/12/9 Sneed, Sean P : >

Re: Email does not send attachment ...

2009-12-09 Thread Philip Potter
Without much more information to go on, though, it's hard to diagose the original problem. Phil > -Original Message- > From: Robert H [mailto:sigz...@gmail.com] > Sent: Tuesday, December 08, 2009 6:58 PM > To: beginners@perl.org > Subject: Re: Email does not send at

RE: Email does not send attachment ...

2009-12-09 Thread Sneed, Sean P
Try the paths like this C:\\my_file.log -Original Message- From: Robert H [mailto:sigz...@gmail.com] Sent: Tuesday, December 08, 2009 6:58 PM To: beginners@perl.org Subject: Re: Email does not send attachment ... On 12/8/09 3:56 PM, Tony Esposito wrote: > Hello, > > I

Re: Email does not send attachment ...

2009-12-09 Thread C.DeRykus
On Dec 8, 12:56 pm, tony1234567...@yahoo.co.uk (Tony Esposito) wrote: > Hello, > > I am using Perl 5.8 on WindowsXP and Windows Server 2003.  I can not get the > following attachment to arrive/attach even though I get the email with no > issues.  Any ideas? > > ... > &g

Re: Email does not send attachment ...

2009-12-09 Thread Dermot
ot;Error creating multipart container: $!\n"; >> >>  $msg->attach ( >>     Type =>  'TEXT', >>     Data =>  'Error in the module that caused this email', >>   ) or die "Error adding the body text to email message: $!\n"; &g

Re: Email does not send attachment ...

2009-12-08 Thread Robert H
;attach ( Type => 'TEXT', Path => 'C:/my_file.log', Filename => 'my_file.log', Disposition => 'attachment' ) or die "Error adding file attachment: $!\n"; MIME::Lite->send('smtp', 'smtp.server.net', Timeout=>60); $msg->send; I see why you do that now. Sorry. Bob -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Email does not send attachment ...

2009-12-08 Thread Robert H
;attach ( Type => 'TEXT', Path => 'C:/my_file.log', Filename => 'my_file.log', Disposition => 'attachment' ) or die "Error adding file attachment: $!\n"; MIME::Lite->send('smtp', '

Email does not send attachment ...

2009-12-08 Thread Tony Esposito
ultipart container: $!\n";     $msg->attach (     Type => 'TEXT',     Data => 'Error in the module that caused this email',   ) or die "Error adding the body text to email message: $!\n";      $msg->attach ( Type => 'TEXT', Path

Re: Need help with Email::Send

2009-06-22 Thread Jenda Krynicky
From: "Dennis G. Wicks" > Jeff Pang wrote the following on 06/21/2009 09:51 PM: > > 2009/6/22 Dennis G. Wicks : > >> Greetings; > >> > >> I can't seem to find the problem with the Email::Send portion of this > >> program. It

Re: Need help with Email::Send

2009-06-22 Thread Dennis G. Wicks
Jeff Pang wrote the following on 06/21/2009 09:51 PM: 2009/6/22 Dennis G. Wicks : Greetings; I can't seem to find the problem with the Email::Send portion of this program. It may be that I am getting an error from the smtp server but I haven't been able to adapt an error routine

Re: Need help with Email::Send

2009-06-21 Thread Jeff Pang
2009/6/22 Dennis G. Wicks : > Greetings; > > I can't seem to find the problem with the Email::Send portion of this > program. It may be that I am getting an error from the smtp server but I > haven't been able to adapt an error routine that works with Mail::Sender to >

Need help with Email::Send

2009-06-21 Thread Dennis G. Wicks
Greetings; I can't seem to find the problem with the Email::Send portion of this program. It may be that I am getting an error from the smtp server but I haven't been able to adapt an error routine that works with Mail::Sender to work with Email::Send. Anybody have any insig

Re: how to send simultaneous commands into different servers

2009-02-03 Thread Chas. Owens
On Tue, Feb 3, 2009 at 20:12, Hugo Hernandez-Mora wrote: > Hello all, > > I am looking for a way to send the same shell command into different servers > simultaneously. I am managing a cluster with +400 nodes and I have an > application which send the commands to the servers but

how to send simultaneous commands into different servers

2009-02-03 Thread Hugo Hernandez-Mora
Hello all, I am looking for a way to send the same shell command into different servers simultaneously. I am managing a cluster with +400 nodes and I have an application which send the commands to the servers but in a sequential way which at some point is being inefficient for us. Any ideas

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
t;Subject: Very simple email test\n\n"; print MAIL "Body of the message"; close (MAIL); Thanks for your help. Fúlvio On Tue, Jan 6, 2009 at 10:48 AM, Octavian Rasnita wrote: > From: "Fúlvio" > > Hi Octavian, > > > > I don't need to use this s

Re: Send email using smtp

2009-01-06 Thread Octavian Rasnita
ype: text/plain\n"; print MAIL "Subject: Very simple email test\n\n"; print MAIL "Body of the message"; close (MAIL); If you can use sendmail and if you also need to send email messages with attachments or html emails eventually with inline images (and for more other features

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

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::SM

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.

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

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 a

Re: Send email using smtp

2009-01-06 Thread Fúlvio Figueirôa
ad file descriptor". I don't need to use the SMTP procotol, I need only send an email. Thanks, Fúlvio On Mon, Jan 5, 2009 at 7:47 PM, Rob Dixon wrote: > Fúlvio wrote: > > > > I am trying to send an email using the following code: > > > > use Net::SMTP; >

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

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 me

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 va

Send email using smtp

2009-01-05 Thread 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 hel

RE: Send Mail with attachment

2008-10-22 Thread Stewart Anderson
> file type', > Path => '$path', > Filename => '$filename', > Disposition => 'attachment' > ) > > Please helps. > I think that with MIME::Lite you can just set the type as BINARY or TEXT. I experimente

Re: Send Mail with attachment

2008-10-22 Thread Octavian Rasnita
file type. Is there any global variable to define instead of > Type => 'application/zip', Type => 'image/gif', Type => "application/ > xls" and etc? You could use Mail::Builder to create the mail messages and and Email::Send to send them. You should us

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

Send Mail with attachment

2008-10-21 Thread leolim818
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 Type => 'applicat

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"; > > B

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

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 f

send die "" to a file

2008-09-25 Thread aa aa
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 fi

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 s

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 >

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 > s

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]

Send both parts of a multipart email

2008-08-22 Thread David Allender
Hello all, 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 handles a form, and i need it

Re: Using MIME::Lite to send via SMTP

2008-08-15 Thread Omega -1911
On Thu, Aug 14, 2008 at 11:37 AM, Mike Blezien <[EMAIL PROTECTED]>wrote: > Hello, > > we've been trying to setup MIME::Lite to send email via SMTP but keep > getting > the following error: > - > SMTP auth() command failed

Using MIME::Lite to send via SMTP

2008-08-14 Thread Mike Blezien
Hello, we've been trying to setup MIME::Lite to send email via SMTP but keep getting the following error: - SMTP auth() command failed: Incorrect authentication data - we have verified that the SMTP information, smtp

Re: Fwd: How attach files and send mails on perl????

2008-07-08 Thread John W. Krahn
$attache); ### Aqui agrega el archivo que quieres: $msg->attach( Type => 'x-gzip', Path => "gzip < $attache |", ReadNow => 1, Filename => 'backup.tgz',

  1   2   3   4   5   >