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
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
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
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
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
erver. 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 email with your email client
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
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
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
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.
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,
>
&
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
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
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
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->
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
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?
Thanks
Fúlvio
--
To unsubscribe, e
g the results of sending
the message to the SMTP server?
Thanks John.
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Mial::Mailer Date Stamp and Error Handling using SMTP Service
Smith Jeff D
EMAIL PROTECTED]
Subject: Re: Mial::Mailer Date Stamp and Error Handling using SMTP Service
Smith Jeff D wrote:
>
> I was wondering if someone could point me in the right
> direction for using the Mail::Mailer module. I have two questions:
>
> I have a simple scrip
Smith Jeff D wrote:
>
> I was wondering if someone could point me in the right direction for
> using the Mail::Mailer module. I have two questions:
>
> I have a simple script to mail log files to systems administrators using
> Mail::Mailer --that works fine as it is.
>
> 1. Date/Times
I was wondering if someone could point me in the right direction for
using the Mail::Mailer module. I have two questions:
I have a simple script to mail log files to systems administrators using
Mail::Mailer --that works fine as it is.
1. Date/Timestamp modification: But I notice that
TED]'
here typeo...
actual is "redy.ponnolu"
now, how to chatch this type of erros in script...
if i put wrong e-mail address...does it bounce back ?
how to check this...
--- Madhu Reddy <[EMAIL PROTECTED]> wrote:
> Hi,
> This is regarding sending e-mail from perl sc
Madhu Reddy wrote:
> Hi Guys,
>now it's working fine
> there is typeo in e-mail address
> i put email address as '[EMAIL PROTECTED]'
> here typeo...
> actual is "redy.ponnolu"
Hi Madhu,
I am glad that it is now working, but I think you may be working too much here. Check
out Mail::
check this...
--- Madhu Reddy <[EMAIL PROTECTED]> wrote:
> Hi,
> This is regarding sending e-mail from perl script
> using SMTP
> my script is running fine..but i am not getting any
> mail which i sent from script...
>
> following is my program
> correct me i
Hi,
This is regarding sending e-mail from perl script
using SMTP
my script is running fine..but i am not getting any
mail which i sent from script...
following is my program
correct me if any thing is wrong in the script.
messages with debug option attached at the end
From: "dan" <[EMAIL PROTECTED]>
> With regards to NET::SMTP and Net::SMTP, since it's on windows, case
> doesn't really seem to matter.
>
> Dan
Wrong. There are some modules that do not care whether you use the
right case, but most modules will not work correctly.
The reason is that the use sta
EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 11:03 AM
To: [EMAIL PROTECTED]; dan; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: How to send an e-mail from perl script on windows using
SMTP?
This script is running where my e-mail client is
(MicroSoft Look)...
I am not running on r
This script is running where my e-mail client is
(MicroSoft Look)...
I am not running on remote..
I am running on localNetwork
I am using Microsoft Outlook 2002
I used following procedure to get the my-email server
name
-
1. On Outlook "Tools>options>Mail
Setup===>E-mail Accoun
On Thu, 6 Feb 2003 17:09:40 -, "dan" <[EMAIL PROTECTED]> wrote:
> I tried telnetting to that host on port 25, it exclaimed "host could not be
> found". Seems that's your problem.
>
Not necessarily, unless you are on the same local network as
Reddy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 6:49 AM
To: Timothy Johnson; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: How to send an e-mail from perl script on windows using
SMTP?
Hi,
I did telnet ..i got following error
-
C: telnet ivhpxc0003.ap.bdi.gte.com 25
l not be able to
> > send the email from your script.
> >
> > -Original Message-
> > From: Madhu Reddy [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 05, 2003 6:11 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: How to
AIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: How to send an e-mail from perl script
> on windows using
> SMTP?
>
>
> I changed to Net::SMTP
> still i am getting following error
>
> Couldnt make Connection: Unknown error
>
>
>
> --- david <[EMAIL
-
From: Madhu Reddy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 6:11 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: How to send an e-mail from perl script on windows using
SMTP?
I changed to Net::SMTP
still i am getting following error
Couldnt make Connection: Unk
I changed to Net::SMTP
still i am getting following error
Couldnt make Connection: Unknown error
--- david <[EMAIL PROTECTED]> wrote:
> Madhu Reddy wrote:
>
> > use NET::SMTP ;
>
> should probably be:
>
> use Net::SMTP;
>
> unless NET::SMTP is a new module.
>
> david
>
> --
>
Madhu Reddy wrote:
> use NET::SMTP ;
should probably be:
use Net::SMTP;
unless NET::SMTP is a new module.
david
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I want to send an e-mail from perl script
i have following script...but i am getting following
error.
does anybody have any idea, why it is failing ?
==
following is error message
--
Couldnt make Connection: Unknown error
---
following is script
===
On Wed, 17 Apr 2002, Bill Lyles wrote:
> How can I change this to smtp?
Bill:
Try using Mail::Mailer:
#!/usr/bin/perl -w
use Mail::Mailer;
my $To = $ARGV[0];
my $mailer = Mail::Mailer->new('smtp', 'your.smtp.host');
$mailer->open({
From => "[EMAIL PROTECTED]",
T
I have a script that I'm trying to edit to use smtp because it only calls
for a mail program.
this is the code
if ($found) {
open (MAILME, "|$mailprog -t") or &dienice("Can't access $mailprog!\n");
print MAILME "To: $email\n";
print MAILME "From: $adminmail\n";
print MAILME "Subject: Your userna
On Wed, 2002-04-17 at 12:41, Bill Lyles wrote:
> I have a script that I'm trying to edit to use smtp because it only calls
> for a mail program.
>
> this is the code
>
> if ($found) {
> open (MAILME, "|$mailprog -t") or &dienice("Can't access $mailprog!\n");
> print MAILME "To: $email\n";
> prin
39 matches
Mail list logo